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 rvagg committed Feb 9, 2016
1 parent c4c8b3b commit e439066
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 e439066

Please sign in to comment.