summaryrefslogtreecommitdiff
path: root/www/h2o/files/patch-src_ssl.c
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2024-03-24 14:15:48 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2024-03-24 14:15:48 +0000
commited5fe1155b2d2eac7f0081683d886571b9fffacc (patch)
tree0f95134f902c3044970482f7365f144452f22ba0 /www/h2o/files/patch-src_ssl.c
parentx11-toolkits/tk87: Move man pages to share/man (diff)
www/h2o*: meld devel flavour into main port
- upstream has indicated there will be no more versioned releases - only master branch updates - all remaining consumers of libh2o have moved to alternatives
Diffstat (limited to 'www/h2o/files/patch-src_ssl.c')
-rw-r--r--www/h2o/files/patch-src_ssl.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/h2o/files/patch-src_ssl.c b/www/h2o/files/patch-src_ssl.c
new file mode 100644
index 000000000000..938c96e1e7ee
--- /dev/null
+++ b/www/h2o/files/patch-src_ssl.c
@@ -0,0 +1,12 @@
+--- src/ssl.c.orig 2023-08-08 09:33:37 UTC
++++ src/ssl.c
+@@ -1182,7 +1182,9 @@ void init_openssl(void)
+ SSL_library_init();
+ OpenSSL_add_all_algorithms();
+ #if H2O_CAN_OSSL_ASYNC
++#if OPENSSL_VERSION_NUMBER < 0x30000000L
+ ERR_load_ASYNC_strings();
++#endif
+ #endif
+
+ /* When using OpenSSL >= 3.0, load legacy provider so that blowfish can be used for 64-bit QUIC CIDs. */