Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! crypto: prevent Sign::SignFinal from crashing
  • Loading branch information
tniessen committed Jul 15, 2018
commit 3625e22927b6fd5fbde438b364bd48b596d0f780
2 changes: 1 addition & 1 deletion lib/internal/crypto/sig.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function getIntOption(name, defaultValue, options) {
if (value === value >> 0) {
return value;
} else {
throw new ERR_INVALID_OPT_VALUE(name, options[name]);
throw new ERR_INVALID_OPT_VALUE(name, value);
}
}
return defaultValue;
Expand Down