Skip to content

Commit

Permalink
test: disable gh-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: #5144
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
indutny authored and Myles Borins committed Feb 18, 2016
1 parent 4c687c9 commit 6072d2e
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 6072d2e

Please sign in to comment.