X Tutup
The Wayback Machine - https://web.archive.org/web/20210827220535/https://github.com/nodejs/node/commit/8cee28465c
Skip to content
Permalink
Browse files
test: fix test-dh-regr for OpenSSL 3
PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
Trott committed Apr 10, 2021
1 parent 213ae4f commit 8cee28465ce2a998f9efbd4ada6db0d04e079d31
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/pummel/test-dh-regr.js
@@ -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();

0 comments on commit 8cee284

Please sign in to comment.
X Tutup