summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2016-06-01 15:49:10 -0400
committerSpencer Jackson <spencer.jackson@mongodb.com>2016-06-15 13:59:02 -0400
commitedf2aa684c3f0ec9a88a9a50453dc4f3a0f26b2a (patch)
tree8990660617f669269698118472538ebc8a9568df
parenta481e3a9987a8dc7059402c66dd22bfe51d1a818 (diff)
downloadmongo-edf2aa684c3f0ec9a88a9a50453dc4f3a0f26b2a.tar.gz
SERVER-24369: Accept OpenSSL FIPS error message from Ubuntu 16.04
-rw-r--r--jstests/ssl/ssl_fips.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/ssl/ssl_fips.js b/jstests/ssl/ssl_fips.js
index 9b3e4b94c96..47f148340d9 100644
--- a/jstests/ssl/ssl_fips.js
+++ b/jstests/ssl/ssl_fips.js
@@ -24,7 +24,10 @@ if (mongo != 0) {
print("mongod failed to start, checking for FIPS support");
mongoOutput = rawMongoProgramOutput();
assert(mongoOutput.match(/this version of mongodb was not compiled with FIPS support/) ||
- mongoOutput.match(/FIPS_mode_set:fips mode not supported/));
+ mongoOutput.match(/FIPS_mode_set:fips mode not supported/) ||
+ // Ubuntu 16.04's OpenSSL produces an unexpected error message, remove this check when
+ // SERVER-24350 is resolved
+ mongoOutput.match(/error:00000000:lib\(0\):func\(0\):reason\(0\)/));
} else {
// verify that auth works, SERVER-18051
md.getDB("admin").createUser({user: "root", pwd: "root", roles: ["root"]});