Index: files/patch-src_main_tls.c =================================================================== --- files/patch-src_main_tls.c (nonexistent) +++ files/patch-src_main_tls.c (working copy) @@ -0,0 +1,28 @@ +--- src/main/tls.c.orig 2019-04-12 06:47:56 UTC ++++ src/main/tls.c +@@ -1579,7 +1579,7 @@ done: + return 0; + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + static SSL_SESSION *cbtls_get_session(SSL *ssl, unsigned char *data, int len, int *copy) + #else + static SSL_SESSION *cbtls_get_session(SSL *ssl, const unsigned char *data, int len, int *copy) +@@ -3379,14 +3379,14 @@ post_ca: + */ + SSL_CTX_sess_set_cache_size(ctx, conf->session_cache_size); + +-#if OPENSSL_VERSION_NUMBER >= 0x10101000L ++#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX_set_num_tickets(ctx, 1); + #endif + + } else { + SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF); + +-#if OPENSSL_VERSION_NUMBER >= 0x10101000L ++#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) + /* + * This controls the number of stateful or stateless tickets + * generated with TLS 1.3. In OpenSSL 1.1.1 it's also Property changes on: files/patch-src_main_tls.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-src_modules_rlm__eap_types_rlm__eap__fast_eap__fast.c =================================================================== --- files/patch-src_modules_rlm__eap_types_rlm__eap__fast_eap__fast.c (nonexistent) +++ files/patch-src_modules_rlm__eap_types_rlm__eap__fast_eap__fast.c (working copy) @@ -0,0 +1,11 @@ +--- src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c.orig 2019-05-17 11:45:04 UTC ++++ src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c +@@ -44,7 +44,7 @@ static int openssl_get_keyblock_size(REQUEST *request, + { + const EVP_CIPHER *c; + const EVP_MD *h; +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + int md_size; + + if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL || Property changes on: files/patch-src_modules_rlm__eap_types_rlm__eap__fast_eap__fast.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property