summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/postfix/files/postfix-libressl-session-tickets.patch')
-rw-r--r--mail-mta/postfix/files/postfix-libressl-session-tickets.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix-libressl-session-tickets.patch b/mail-mta/postfix/files/postfix-libressl-session-tickets.patch
new file mode 100644
index 00000000000..fcbc9df63ac
--- /dev/null
+++ b/mail-mta/postfix/files/postfix-libressl-session-tickets.patch
@@ -0,0 +1,11 @@
+--- src/tls/tls_server.c 2018-11-18 20:11:20.120000000 +1100
++++ src/tls/tls_server.c 2018-11-18 20:11:58.430000000 +1100
+@@ -486,7 +486,7 @@
+ * OpenSSL 0.9.8h, while SSL_NO_TICKET was added in 0.9.8f.
+ */
+ #ifdef SSL_OP_NO_TICKET
+-#if !defined(OPENSSL_NO_TLSEXT) && OPENSSL_VERSION_NUMBER >= 0x0090808fL
++#if !defined(OPENSSL_NO_TLSEXT) && OPENSSL_VERSION_NUMBER >= 0x0090808fL && !defined(LIBRESSL_VERSION_NUMBER)
+ ticketable = (*var_tls_tkt_cipher && scache_timeout > 0
+ && !(off & SSL_OP_NO_TICKET));
+ if (ticketable) {