Skip to content

Commit ca30d76

Browse files
committed
src: move evp stuff to ncrypto
nodejs/node#54911
1 parent 878cacf commit ca30d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/node/fix_handle_boringssl_and_openssl_incompatibilities.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ index e5664dfa2bc7e11922fa965f28acdf21470d1147..33ffbbb85d05f5356183e3aa1ca23707
375375
break;
376376
}
377377
@@ -398,9 +398,11 @@ EVPKeyCtxPointer DhKeyGenTraits::Setup(DhKeyPairGenConfig* params) {
378-
key_params = EVPKeyPointer(EVP_PKEY_new());
378+
key_params = EVPKeyPointer::New();
379379
CHECK(key_params);
380380
CHECK_EQ(EVP_PKEY_assign_DH(key_params.get(), dh.release()), 1);
381381
- } else if (int* prime_size = std::get_if<int>(&params->params.prime)) {

0 commit comments

Comments
 (0)