From c030a62c8b0fefe105618c0db2486635a8e2192b Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Wed, 6 May 2020 16:57:53 -0700 Subject: [PATCH] openSSLLockingCallback should be static --- ixwebsocket/IXSocketOpenSSL.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ixwebsocket/IXSocketOpenSSL.h b/ixwebsocket/IXSocketOpenSSL.h index 2edab63e..6070f8ae 100644 --- a/ixwebsocket/IXSocketOpenSSL.h +++ b/ixwebsocket/IXSocketOpenSSL.h @@ -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;