From 0383d661b6872850b4f9e63be56af45aa2a97f9f Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Mon, 8 Feb 2016 16:41:11 -0500 Subject: [PATCH] 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 --- test/parallel/test-tls-pfx-gh-5100-regr.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/parallel/test-tls-pfx-gh-5100-regr.js b/test/parallel/test-tls-pfx-gh-5100-regr.js index 865ac2ba3f299a..29b8955c8758d8 100644 --- a/test/parallel/test-tls-pfx-gh-5100-regr.js +++ b/test/parallel/test-tls-pfx-gh-5100-regr.js @@ -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');