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 7100bae

Browse filesBrowse files
tniessenjuanarbol
authored andcommitted
crypto: use actual option name in error message
oaep_label is the name of the C++ variable. Use oaepLabel instead, which is the name of the documented option. PR-URL: #44455 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6be761e commit 7100bae
Copy full SHA for 7100bae

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/crypto/crypto_cipher.cc‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_cipher.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo<Value>& args) {
10521052
if (!args[offset + 3]->IsUndefined()) {
10531053
oaep_label = ArrayBufferOrViewContents<unsigned char>(args[offset + 3]);
10541054
if (UNLIKELY(!oaep_label.CheckSizeInt32()))
1055-
return THROW_ERR_OUT_OF_RANGE(env, "oaep_label is too big");
1055+
return THROW_ERR_OUT_OF_RANGE(env, "oaepLabel is too big");
10561056
}
10571057

10581058
std::unique_ptr<BackingStore> out;

0 commit comments

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