projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build with LibreSSL 3.3.1
[privoxy.git]
/
openssl.c
diff --git
a/openssl.c
b/openssl.c
index
15166da
..
b29aa92
100644
(file)
--- 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);