Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 90dca93

Browse files
authoredOct 3, 2021
remove incorrect constructor invocation
1 parent 1811396 commit 90dca93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/internal/crypto/ec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ function ecdsaSignVerify(key, data, { name, hash }, signature) {
482482
// Fall through
483483
case 'NODE-ED448':
484484
if (hash !== undefined)
485-
throw new lazyDOMException(`Hash is not permitted for ${name}`);
485+
throw lazyDOMException(`Hash is not permitted for ${name}`);
486486
break;
487487
default:
488488
if (hash === undefined)

0 commit comments

Comments
 (0)
Please sign in to comment.