Skip to content

Commit 2abbd81

Browse files
committed
fixup! crypto: support Ed448 and ML-DSA context parameter in node:crypto
1 parent 050c56a commit 2abbd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/crypto/webidl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ converters.ContextParams = createDictionaryConverter(
785785
let { 0: major, 1: minor } = process.versions.openssl.split('.');
786786
major = NumberParseInt(major, 10);
787787
minor = NumberParseInt(minor, 10);
788-
if (major >= 4 || (major === 3 && minor >= 2)) {
788+
if (major > 3 || (major === 3 && minor >= 2)) {
789789
this.validator = undefined;
790790
} else {
791791
this.validator = validateZeroLength('ContextParams.context');

0 commit comments

Comments
 (0)