openSSLLockingCallback should be static

This commit is contained in:
Benjamin Sergeant 2020-05-06 16:57:53 -07:00
parent 931530b101
commit c030a62c8b

View File

@ -50,10 +50,10 @@ namespace ix
bool openSSLServerHandshake(std::string& errMsg);
// Required for OpenSSL < 1.1
void openSSLLockingCallback(int mode,
int type,
const char* /*file*/,
int /*line*/);
static void openSSLLockingCallback(int mode,
int type,
const char* /*file*/,
int /*line*/);
SSL* _ssl_connection;
SSL_CTX* _ssl_context;