Skip to content

Commit

Permalink
test: fix test-dh-regr for OpenSSL 3
Browse files Browse the repository at this point in the history
PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
Trott committed Apr 10, 2021
1 parent 213ae4f commit 8cee284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-dh-regr.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const crypto = require('crypto');

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

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

Expand Down

0 comments on commit 8cee284

Please sign in to comment.