mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
- This was tested only with OpenSSL 3 from base but not with openssl30 or openssl31 ports. - Regen patches PR: 271656
15 lines
467 B
C++
15 lines
467 B
C++
--- src/crypto/crypto_util.cc.orig 2023-06-12 06:44:17 UTC
|
|
+++ src/crypto/crypto_util.cc
|
|
@@ -194,10 +194,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 // OPENSSL_VERSION_MAJOR < 3
|
|
|
|
NodeBIO::GetMethod();
|
|
}
|