ports/mail/postfix35/files/patch-src_tls_tls__server.c
Olli Hauer efa868ac95 mail/postfix35 add new port
Postfix 3.6 requires minimum OpenSSL 1.1.1,
this port is an alternative for FreeBSD 11 users using
'OpenSSL base' and will be removed if FreeBSD 11 is EoL
2021-05-06 19:09:50 +02:00

12 lines
406 B
C

--- src/tls/tls_server.c.orig 2019-02-18 23:03:54 UTC
+++ src/tls/tls_server.c
@@ -518,7 +518,9 @@ TLS_APPL_STATE *tls_server_init(const TL
* 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)