summaryrefslogtreecommitdiff
path: root/www/freenginx/files/extra-patch-nginx-ct-LibreSSL
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2024-02-25 10:24:06 +0100
committerJochen Neumeister <joneum@FreeBSD.org>2024-02-25 10:26:33 +0100
commit78842f5507e0259442311b8288fb438f584aed4d (patch)
tree750e6d97e9ca254f77051be9a6fcd3f289f61408 /www/freenginx/files/extra-patch-nginx-ct-LibreSSL
parentnet/nepenthes: Moved man to share/man (diff)
www/freenginx: add new port
Freenginx is a Robust ans small WWW server Sponsored by: Netzkommune GmbH
Diffstat (limited to 'www/freenginx/files/extra-patch-nginx-ct-LibreSSL')
-rw-r--r--www/freenginx/files/extra-patch-nginx-ct-LibreSSL20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/freenginx/files/extra-patch-nginx-ct-LibreSSL b/www/freenginx/files/extra-patch-nginx-ct-LibreSSL
new file mode 100644
index 000000000000..9aa89a463a9d
--- /dev/null
+++ b/www/freenginx/files/extra-patch-nginx-ct-LibreSSL
@@ -0,0 +1,20 @@
+--- ../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 @@
+ #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 @@
+ 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,
+ const unsigned char **out, size_t *outlen, X509 *x, size_t chainidx,