Skip to content

Commit 8cee284

Browse files
committed
test: fix test-dh-regr for OpenSSL 3
PR-URL: #34289 Reviewed-By: Richard Lau <[email protected]>
1 parent 213ae4f commit 8cee284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/pummel/test-dh-regr.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const crypto = require('crypto');
2929

3030
// FIPS requires length >= 1024 but we use 256 in this test to keep it from
3131
// taking too long and timing out in CI.
32-
const length = common.hasFipsCrypto ? 1024 : 256;
32+
const length = (common.hasFipsCrypto || common.hasOpenSSL3) ? 1024 : 256;
3333

3434
const p = crypto.createDiffieHellman(length).getPrime();
3535

0 commit comments

Comments
 (0)