Skip to content

Commit a2574fd

Browse files
committed
fixup! crypto: add RSA-PSS params to asymmetricKeyDetails
1 parent 8fafd3a commit a2574fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/crypto/crypto_rsa.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Maybe<bool> GetRsaKeyDetail(
599599
if (target
600600
->Set(
601601
env->context(),
602-
env->mgf1_hash_string(),
602+
env->mgf1_hash_algorithm_string(),
603603
OneByteString(env->isolate(), OBJ_nid2ln(mgf1_hash_nid)))
604604
.IsNothing()) {
605605
return Nothing<bool>();

src/env.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ constexpr size_t kFsStatsBufferLength =
317317
V(message_port_string, "messagePort") \
318318
V(message_string, "message") \
319319
V(messageerror_string, "messageerror") \
320-
V(mgf1_hash_string, "mgf1Hash") \
320+
V(mgf1_hash_algorithm_string, "mgf1HashAlgorithm") \
321321
V(minttl_string, "minttl") \
322322
V(module_string, "module") \
323323
V(modulus_string, "modulus") \

0 commit comments

Comments
 (0)