mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 02:18:39 +08:00
Moved includes to source files
This commit is contained in:
parent
6e4265fcc7
commit
bbee12f372
@ -22,6 +22,7 @@
|
||||
|
||||
#include "FDBLibTLSPlugin.h"
|
||||
#include "FDBLibTLSPolicy.h"
|
||||
#include "Trace.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include "FDBLibTLSPolicy.h"
|
||||
#include "FDBLibTLSSession.h"
|
||||
#include "Trace.h"
|
||||
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/err.h>
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "FDBLibTLSPlugin.h"
|
||||
#include "FDBLibTLSVerify.h"
|
||||
#include "Trace.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "FDBLibTLSSession.h"
|
||||
#include "Trace.h"
|
||||
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/err.h>
|
||||
@ -368,7 +369,7 @@ int FDBLibTLSSession::handshake() {
|
||||
case TLS_WANT_POLLOUT:
|
||||
return WANT_WRITE;
|
||||
default:
|
||||
TraceEvent("FDBLibTLSHandshakeError", uid).detail("LibcryptoErrorMessage", tls_error(tls_ctx)).suppressFor(1.0, true);
|
||||
TraceEvent("FDBLibTLSHandshakeError", uid).detail("LibTLSErrorMessage", tls_error(tls_ctx)).suppressFor(1.0, true);
|
||||
return FAILED;
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@
|
||||
|
||||
#include "FDBLibTLSPolicy.h"
|
||||
#include "FDBLibTLSVerify.h"
|
||||
#include "IRandom.h"
|
||||
|
||||
#include <tls.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user