[Privoxy-commits] [privoxy] 01/03: Fix build with LibreSSL 3.3.1

User Git git at git.privoxy.org
Tue Jan 26 05:26:35 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit a6ddffd9c3a8e5a9151282c27d7e8034bc15925c
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 25 16:56:29 2021 +0100

    Fix build with LibreSSL 3.3.1
---
 openssl.c | 4 ++++
 1 file changed, 4 insertions(+)

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);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list