aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dovecot/libressl.patch')
-rw-r--r--main/dovecot/libressl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/dovecot/libressl.patch b/main/dovecot/libressl.patch
new file mode 100644
index 0000000000..02cd08c87b
--- /dev/null
+++ b/main/dovecot/libressl.patch
@@ -0,0 +1,11 @@
+--- a/src/lib-ssl-iostream/dovecot-openssl-common.c
++++ b/src/lib-ssl-iostream/dovecot-openssl-common.c
+@@ -101,7 +101,7 @@
+ ERR_remove_thread_state(NULL);
+ #endif
+ ERR_free_strings();
+-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
+ OPENSSL_cleanup();
+ #endif
+ return FALSE;