openSSLLockingCallback should be static
This commit is contained in:
@@ -50,10 +50,10 @@ namespace ix
|
|||||||
bool openSSLServerHandshake(std::string& errMsg);
|
bool openSSLServerHandshake(std::string& errMsg);
|
||||||
|
|
||||||
// Required for OpenSSL < 1.1
|
// Required for OpenSSL < 1.1
|
||||||
void openSSLLockingCallback(int mode,
|
static void openSSLLockingCallback(int mode,
|
||||||
int type,
|
int type,
|
||||||
const char* /*file*/,
|
const char* /*file*/,
|
||||||
int /*line*/);
|
int /*line*/);
|
||||||
|
|
||||||
SSL* _ssl_connection;
|
SSL* _ssl_connection;
|
||||||
SSL_CTX* _ssl_context;
|
SSL_CTX* _ssl_context;
|
||||||
|
Reference in New Issue
Block a user