Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e334c1f

Browse filesBrowse files
bnoordhuistargos
authored andcommitted
src: fix type name in comment
The comment refers to an exception type that JS land throws on the C++ code's behalf but apparently I changed the JS name before landing the pull request and forgot to update the comment. Refs: #20816 PR-URL: #28320 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
1 parent 19dad19 commit e334c1f
Copy full SHA for e334c1f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_crypto.cc‎

Copy file name to clipboardExpand all lines: src/node_crypto.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6085,7 +6085,7 @@ void Scrypt(const FunctionCallbackInfo<Value>& args) {
60856085
// EVP_PBE_scrypt() does not always put errors on the error stack
60866086
// and therefore ToResult() may or may not return an exception
60876087
// 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.
60896089
auto result = job->ToResult();
60906090
if (result->IsUndefined()) result = Null(args.GetIsolate());
60916091
return args.GetReturnValue().Set(result);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.