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>
pull/5148/head
Fedor Indutny 2016-02-08 16:41:11 -05:00 committed by Rich Trott
parent 394556e9f5
commit c64d051cf6
1 changed files with 5 additions and 0 deletions

View File

@ -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');