From: Fabian Keil Date: Mon, 25 Jan 2021 15:56:29 +0000 (+0100) Subject: Fix build with LibreSSL 3.3.1 X-Git-Tag: v_3_0_30~14 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=a6ddffd9c3a8e5a9151282c27d7e8034bc15925c;ds=sidebyside Fix build with LibreSSL 3.3.1 --- diff --git a/openssl.c b/openssl.c index 15166dac..b29aa926 100644 --- a/openssl.c +++ b/openssl.c @@ -2236,8 +2236,12 @@ extern void ssl_release(void) { if (ssl_inited == 1) { +#if OPENSSL_VERSION_NUMBER >= 0x1000200fL +#ifndef LIBRESSL_VERSION_NUMBER #ifndef OPENSSL_NO_COMP SSL_COMP_free_compression_methods(); +#endif +#endif #endif CONF_modules_free(); CONF_modules_unload(1);