Skip to content

Commit 8dcd86e

Browse files
committed
patch the openssl included in node to ignore redhat's rh-allow-sha1-signatures config
1 parent 9f91df4 commit 8dcd86e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/deps/openssl/openssl/crypto/evp/evp_cnf.c b/deps/openssl/openssl/crypto/evp/evp_cnf.c
2+
index 0e7fe64cf9..bdba3638ee 100644
3+
--- a/deps/openssl/openssl/crypto/evp/evp_cnf.c
4+
+++ b/deps/openssl/openssl/crypto/evp/evp_cnf.c
5+
@@ -57,6 +57,9 @@ static int alg_module_init(CONF_IMODULE *md, const CONF *cnf)
6+
ERR_raise(ERR_LIB_EVP, EVP_R_SET_DEFAULT_PROPERTY_FAILURE);
7+
return 0;
8+
}
9+
+ } else if (strcmp(oval->name, "rh-allow-sha1-signatures") == 0) {
10+
+ /* allow and then ignore this option */
11+
+
12+
} else {
13+
ERR_raise_data(ERR_LIB_EVP, EVP_R_UNKNOWN_OPTION,
14+
"name=%s, value=%s", oval->name, oval->value);

0 commit comments

Comments
 (0)