summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2025-02-04 14:29:05 -0500
committerSergey A. Osokin <osa@FreeBSD.org>2025-02-04 14:29:32 -0500
commit4e51506ec92c7ee330509ade93bb618c6f8101f3 (patch)
treedf27a3e5e5758dc063c1fa62fc81b79d1b129400 /www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL
parentftp/R-cran-curl: Update to 6.2.0 (diff)
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.
Diffstat (limited to 'www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL')
-rw-r--r--www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL23
1 files changed, 16 insertions, 7 deletions
diff --git a/www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL b/www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL
index 9aa89a463a9d..a3b500629983 100644
--- a/www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL
+++ b/www/nginx-devel/files/extra-patch-nginx-ct-LibreSSL
@@ -1,20 +1,29 @@
---- ../nginx-ct-93e9884/ngx_ssl_ct_module.c.orig 2017-07-23 08:03:35.000000000 -0400
-+++ ../nginx-ct-93e9884/ngx_ssl_ct_module.c 2018-04-24 16:58:27.698435000 -0400
-@@ -158,7 +158,7 @@
+--- ../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 */
- # if OPENSSL_VERSION_NUMBER >= 0x10101000L
int context = SSL_EXT_CLIENT_HELLO
-@@ -183,7 +183,7 @@
+ | 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)
- # if OPENSSL_VERSION_NUMBER >= 0x10101000L
- int ngx_ssl_ct_ext_cb(SSL *s, unsigned int ext_type, unsigned int context,
+ 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) {