mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
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
12 lines
406 B
C
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)
|