Skip to content

Commit 6a1ac54

Browse files
committed
fixup! crypto: improve SubtleCrypto.supports() accuracy
1 parent 2916d54 commit 6a1ac54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/internal/crypto/webidl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const {
4242
type,
4343
} = require('internal/webidl');
4444

45-
const kRsaKeyGenMinimumModulusLength = isFips === 1 ? 2048 : 512;
45+
const kRsaKeyGenMinimumModulusLength = isFips ? 2048 : 512;
4646

4747
function validateByteLength(buf, name, target) {
4848
if (getBufferSourceByteLength(buf) !== target) {

0 commit comments

Comments
 (0)