aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix/files/patch-src_tls_tls__dane.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/files/patch-src_tls_tls__dane.c')
-rw-r--r--mail/postfix/files/patch-src_tls_tls__dane.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/postfix/files/patch-src_tls_tls__dane.c b/mail/postfix/files/patch-src_tls_tls__dane.c
new file mode 100644
index 000000000000..00c4a060be5f
--- /dev/null
+++ b/mail/postfix/files/patch-src_tls_tls__dane.c
@@ -0,0 +1,11 @@
+--- src/tls/tls_dane.c.orig 2016-08-27 20:27:50 UTC
++++ src/tls/tls_dane.c
+@@ -2163,7 +2163,7 @@ static SSL_CTX *ctx_init(const char *CAf
+ tls_param_init();
+ tls_check_version();
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESS_VERSION_NUMBER)
+ SSL_load_error_strings();
+ SSL_library_init();
+ #endif