| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 19dad19 commit e334c1f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6085,7 +6085,7 @@ void Scrypt(const FunctionCallbackInfo<Value>& args) { | |||
| 6085 | 6085 | // EVP_PBE_scrypt() does not always put errors on the error stack | |
| 6086 | 6086 | // and therefore ToResult() may or may not return an exception | |
| 6087 | 6087 | // object. Return a sentinel value to inform JS land it should | |
| 6088 | - // throw an ERR_CRYPTO_SCRYPT_PARAMETER_ERROR on our behalf. | ||
| 6088 | + // throw an ERR_CRYPTO_SCRYPT_INVALID_PARAMETER on our behalf. | ||
| 6089 | 6089 | auto result = job->ToResult(); | |
| 6090 | 6090 | if (result->IsUndefined()) result = Null(args.GetIsolate()); | |
| 6091 | 6091 | return args.GetReturnValue().Set(result); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments