Skip to content

Commit

Permalink
remove incorrect constructor invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Oct 3, 2021
1 parent 1811396 commit 90dca93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/crypto/ec.js
Expand Up @@ -482,7 +482,7 @@ function ecdsaSignVerify(key, data, { name, hash }, signature) {
// Fall through
case 'NODE-ED448':
if (hash !== undefined)
throw new lazyDOMException(`Hash is not permitted for ${name}`);
throw lazyDOMException(`Hash is not permitted for ${name}`);
break;
default:
if (hash === undefined)
Expand Down

0 comments on commit 90dca93

Please sign in to comment.