summaryrefslogtreecommitdiff
path: root/mail-mta/postfix/files/src_tls_tls_server_c.patch
blob: 7db3472cf46efaf9f9197b30c995e264ad48fd2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: src/tls/tls_server.c
--- src/tls/tls_server.c.orig
+++ src/tls/tls_server.c
@@ -541,7 +541,9 @@ TLS_APPL_STATE *tls_server_init(const TLS_SERVER_INIT_
 	 * ticket decryption callback already (since 2.11) asks OpenSSL to
 	 * avoid issuing new tickets when the presented ticket is re-usable.
 	 */
+#ifndef LIBRESSL_VERSION_NUMBER
 	SSL_CTX_set_num_tickets(server_ctx, 1);
+#endif
     }
 #endif
     if (!ticketable)