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 <[email protected]>
  • Loading branch information
indutny authored and Trott committed Feb 8, 2016
1 parent 394556e commit c64d051
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 c64d051

Please sign in to comment.