We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4daf153 commit 35788c8Copy full SHA for 35788c8
src/node_crypto.cc
@@ -6085,7 +6085,7 @@ void Scrypt(const FunctionCallbackInfo<Value>& args) {
6085
// EVP_PBE_scrypt() does not always put errors on the error stack
6086
// and therefore ToResult() may or may not return an exception
6087
// object. Return a sentinel value to inform JS land it should
6088
- // throw an ERR_CRYPTO_SCRYPT_PARAMETER_ERROR on our behalf.
+ // throw an ERR_CRYPTO_SCRYPT_INVALID_PARAMETER on our behalf.
6089
auto result = job->ToResult();
6090
if (result->IsUndefined()) result = Null(args.GetIsolate());
6091
return args.GetReturnValue().Set(result);
0 commit comments