Skip to content

Commit b09d864

Browse files
committed
fixup! crypto: do not add undefined hash in webcrypto normalizeAlgorithm
1 parent baa826f commit b09d864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/crypto/webcrypto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ async function unwrapKey(
557557
extractable,
558558
keyUsages) {
559559
wrappedKey = getArrayBufferOrView(wrappedKey, 'wrappedKey');
560-
unwrapAlgo = normalizeAlgorithm(unwrapAlgo)
560+
unwrapAlgo = normalizeAlgorithm(unwrapAlgo);
561561
let keyData = await cipherOrWrap(
562562
kWebCryptoCipherDecrypt,
563563
unwrapAlgo,

0 commit comments

Comments
 (0)