Skip to content

Commit 8763f53

Browse files
panvaLiviaMedeiros
andauthored
Update lib/internal/crypto/keygen.js
Co-authored-by: Livia Medeiros <livia@cirno.name>
1 parent 49940b1 commit 8763f53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/crypto/keygen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ function createJob(mode, type, options) {
221221
// opted to throw an error if mgf1Hash is specified rather than removing
222222
// it entirely.
223223
throw new ERR_INVALID_ARG_VALUE(
224-
'options.hash',
225-
options.hash,
224+
'options.mgf1Hash',
225+
options.mgf1Hash,
226226
'is no longer supported',
227227
);
228228
}

0 commit comments

Comments
 (0)