Skip to content

Commit

Permalink
test: disable nodejsgh-5100 test when in FIPS mode
Browse files Browse the repository at this point in the history
This is a follow-up fix for half-broken test in 23196fe, and an attempt
to recover some dignity after breaking CI.

PR-URL: nodejs#5144
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
indutny authored and Michael Scovetta committed Apr 2, 2016
1 parent b6a2eed commit 17bb17e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/parallel/test-tls-pfx-gh-5100-regr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 17bb17e

Please sign in to comment.