ports/www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL
Sergey A. Osokin 4e51506ec9 www/nginx-devel: update third-party modules...
to their recent snapshots or versions:
o) array-var
o) aws_auth
o) ct
o) echo
o) dynamic_upstream
o) encrypted-session
o) headers_more
o) http-auth-digest
o) auth-ldap
o) auth_pam
o) eval
o) fancyindex
o) geoip2
o) ip2location
o) http_json_status
o) passenger

Bump PORTREVISION.
2025-02-04 14:29:32 -05:00

29 lines
1 KiB
Text

--- ../nginx-ct-71bf4d2/ngx_ssl_ct_module.c.orig 2024-12-07 10:41:38.000000000 -0500
+++ ../nginx-ct-71bf4d2/ngx_ssl_ct_module.c 2025-02-04 13:44:15.064346000 -0500
@@ -135,7 +135,7 @@
continue;
}
-#ifndef OPENSSL_IS_BORINGSSL
+#if !defined(OPENSSL_IS_BORINGSSL) && !defined(LIBRESSL_VERSION_NUMBER)
/* associate the sct_list with the cert */
X509_set_ex_data(cert, ngx_ssl_ct_sct_list_index, sct_list);
@@ -165,7 +165,7 @@
#endif
}
-#ifndef OPENSSL_IS_BORINGSSL
+#if !defined(OPENSSL_IS_BORINGSSL) && !defined(LIBRESSL_VERSION_NUMBER)
/* add OpenSSL TLS extension */
int context = SSL_EXT_CLIENT_HELLO
| SSL_EXT_TLS1_2_SERVER_HELLO
@@ -181,7 +181,7 @@
return NGX_CONF_OK;
}
-#ifndef OPENSSL_IS_BORINGSSL
+#if !defined(OPENSSL_IS_BORINGSSL) && !defined(LIBRESSL_VERSION_NUMBER)
static int ngx_ssl_ct_ext_cb(SSL *s, unsigned int ext_type, unsigned int context,
const unsigned char **out, size_t *outlen, X509 *x, size_t chainidx,
int *al, void *add_arg) {