| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ const crypto = require('crypto'); | |||
| 29 | 29 | ||
| 30 | 30 | // FIPS requires length >= 1024 but we use 256 in this test to keep it from | |
| 31 | 31 | // taking too long and timing out in CI. | |
| 32 | - const length = common.hasFipsCrypto ? 1024 : 256; | ||
| 32 | + const length = (common.hasFipsCrypto || common.hasOpenSSL3) ? 1024 : 256; | ||
| 33 | 33 | ||
| 34 | 34 | const p = crypto.createDiffieHellman(length).getPrime(); | |
| 35 | 35 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments