diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 21:23:11 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 21:23:11 +0800 |
commit | aedcef762ab64dae03e0dd66d3bf2b02952cfd54 (patch) | |
tree | cafe8dab50727560871bb9c2bd90689af52fb652 /www/node18/files/patch-openssl3 | |
parent | devel/yder: Mark PIE_UNSAFE (diff) |
www/node18: Rename and regenerate patch files
Diffstat (limited to 'www/node18/files/patch-openssl3')
-rw-r--r-- | www/node18/files/patch-openssl3 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/node18/files/patch-openssl3 b/www/node18/files/patch-openssl3 new file mode 100644 index 000000000000..9066f5b9df9e --- /dev/null +++ b/www/node18/files/patch-openssl3 @@ -0,0 +1,15 @@ +--- src/crypto/crypto_util.cc.orig 2023-04-12 04:09:19 UTC ++++ src/crypto/crypto_util.cc +@@ -195,10 +195,12 @@ void InitCryptoOnce() { + // No-op with OPENSSL_NO_COMP builds of OpenSSL. + sk_SSL_COMP_zero(SSL_COMP_get_compression_methods()); + ++#if OPENSSL_VERSION_MAJOR < 3 + #ifndef OPENSSL_NO_ENGINE + ERR_load_ENGINE_strings(); + ENGINE_load_builtin_engines(); + #endif // !OPENSSL_NO_ENGINE ++#endif + } + + void GetFipsCrypto(const FunctionCallbackInfo<Value>& args) { |