We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9c8ca commit 1d4d918Copy full SHA for 1d4d918
test/parallel/test-crypto-fips.js
@@ -64,15 +64,15 @@ testHelper(
64
testFipsCrypto() ? 'stdout' : 'stderr',
65
['--enable-fips'],
66
testFipsCrypto() ? FIPS_ENABLED : FIPS_ENABLE_ERROR_STRING,
67
- 'require("crypto").getFips()',
+ 'process.versions',
68
process.env);
69
70
// --force-fips should raise an error if OpenSSL is not FIPS enabled.
71
testHelper(
72
73
['--force-fips'],
74
75
76
77
78
// By default FIPS should be off in both FIPS and non-FIPS builds.
0 commit comments