From 1b3f969fb06d7270e094de418272d8d0246e70b4 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Thu, 26 Jul 2018 13:21:10 +0200 Subject: [PATCH] add OPENSSL_NO_COMP feature check Signed-off-by: Andy Walsh --- src/Mayaqua/Encrypt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mayaqua/Encrypt.c b/src/Mayaqua/Encrypt.c index 3543ec32..245bb7b5 100644 --- a/src/Mayaqua/Encrypt.c +++ b/src/Mayaqua/Encrypt.c @@ -3690,7 +3690,9 @@ void FreeCryptLibrary() ERR_free_strings(); +#ifndef OPENSSL_NO_COMP SSL_COMP_free_compression_methods(); +#endif } // Initialize the Crypt library