@@ -147,7 +147,7 @@ index 245a43920c7baf000ba63192a84a4c3fd219be7d..56a554175b805c1703f13d62041f8c80
147
147
# The location of simdutf - use the one from node's deps by default.
148
148
node_simdutf_path = "$node_path/deps/simdutf"
149
149
diff --git a/src/crypto/crypto_cipher.cc b/src/crypto/crypto_cipher.cc
150
- index a81ab8e95f2fc23e1e315fb9c69364934377a0c1..dbe12ba2413ef29ff06a7e8abde50000eaf277e2 100644
150
+ index c7588583530cf291946d01cec807390d987706cf..495fb92355a7eadc2f7ec885a3b529988bb3bd02 100644
151
151
--- a/src/crypto/crypto_cipher.cc
152
152
+++ b/src/crypto/crypto_cipher.cc
153
153
@@ -1080,7 +1080,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo<Value>& args) {
@@ -159,9 +159,9 @@ index a81ab8e95f2fc23e1e315fb9c69364934377a0c1..dbe12ba2413ef29ff06a7e8abde50000
159
159
int rsa_pkcs1_implicit_rejection =
160
160
EVP_PKEY_CTX_ctrl_str(ctx.get(), "rsa_pkcs1_implicit_rejection", "1");
161
161
// From the doc -2 means that the option is not supported.
162
- @@ -1096 ,6 +1096 ,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo<Value>& args) {
163
- "RSA_PKCS1_PADDING is no longer supported for private decryption,"
164
- " this can be reverted with --security-revert=CVE-2024-PEND ");
162
+ @@ -1095 ,6 +1095 ,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo<Value>& args) {
163
+ env,
164
+ "RSA_PKCS1_PADDING is no longer supported for private decryption ");
165
165
}
166
166
+ #endif
167
167
}
0 commit comments