From 61bee570d17404ff84735068fff3ec664d59ca41 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Thu, 25 Jun 2015 11:56:27 +0300 Subject: [PATCH] Fixed build failures due to old OpenSSL libraries. --- server/core/gateway.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/core/gateway.c b/server/core/gateway.c index 6513bdb1f..c474083ee 100644 --- a/server/core/gateway.c +++ b/server/core/gateway.c @@ -272,6 +272,7 @@ static void ssl_free_dynlock(struct CRYPTO_dynlock_value * n,const char* file, i free(n); } +#ifdef OPENSSL_1_0 /** * The thread ID callback function for OpenSSL dynamic locks. * @param id Id to modify @@ -280,6 +281,7 @@ static void maxscale_ssl_id(CRYPTO_THREADID* id) { CRYPTO_THREADID_set_numeric(id,pthread_self()); } +#endif /** * Handler for SIGHUP signal. Reload the configuration for the