Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/node20: Fix build with OpenSSL 3
- This was tested only with OpenSSL 3 from base but not with openssl30 or openssl31 ports - Refresh patches PR: 271868 Reported by: emaste Approved by: portmgr (blanket)
- Loading branch information
Showing
7 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
www/node20/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- src/crypto/crypto_util.cc.orig 2023-06-06 21:54:38 UTC | ||
+++ src/crypto/crypto_util.cc | ||
@@ -205,10 +205,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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters