mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: disable gh-5100 test when in FIPS mode
This is a follow-up fix for half-broken test in 23196fe, and an attempt
to recover some dignity after breaking CI.
PR-URL: https://github.com/nodejs/node/pull/5144
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
c4c8b3bf2e
commit
e4390664ae
1 file changed
+5
@@ -7,6 +7,11 @@ if (!common.hasCrypto) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (common.hasFipsCrypto) {
|
||||
console.log('1..0 # Skipped: PFX does not work in FIPS mode');
|
||||
return;
|
||||
}
|
||||
|
||||
const assert = require('assert');
|
||||
const tls = require('tls');
|
||||
const fs = require('fs');
|
||||
|
||||
Reference in new issue
Block a user