Index: files/patch-src_tls_tls__server.c =================================================================== --- files/patch-src_tls_tls__server.c (revision 485900) +++ files/patch-src_tls_tls__server.c (working copy) @@ -18,6 +18,15 @@ /* * Initialize the OpenSSL library by the book! To start with, we must +@@ -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) { @@ -588,7 +588,7 @@ TLS_APPL_STATE *tls_server_init(const TL /* * 2015-12-05: Ephemeral RSA removed from OpenSSL 1.1.0-dev