diff options
Diffstat (limited to 'ext/crypto')
-rw-r--r-- | ext/crypto/00_crypto.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index 5189ea181..c75d3b71d 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -4417,7 +4417,7 @@ async function deriveBits(normalizedAlgorithm, baseKey, length) { publicKey: publicKeyData, algorithm: "ECDH", namedCurve: publicKey[_algorithm].namedCurve, - length, + length: length ?? 0, }); // 8. |