diff options
author | Andreas Nilsson <andreas.nilsson@10gen.com> | 2015-04-16 11:27:13 -0400 |
---|---|---|
committer | Andreas Nilsson <andreas.nilsson@10gen.com> | 2015-04-16 11:28:18 -0400 |
commit | 9958e1ec89110e2dabfd1d7f05a3edcd0ef37d76 (patch) | |
tree | b35c835a446e59c69598eb617b77c83aa25525a3 /jstests/ssl/ssl_fips.js | |
parent | a73f17f5fe6d5239433fd28cc972642151fd88b0 (diff) | |
download | mongo-9958e1ec89110e2dabfd1d7f05a3edcd0ef37d76.tar.gz |
SERVER-18051 Fix OpenSSL FIPS error when using SCRAM-SHA1
Diffstat (limited to 'jstests/ssl/ssl_fips.js')
-rw-r--r-- | jstests/ssl/ssl_fips.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/ssl/ssl_fips.js b/jstests/ssl/ssl_fips.js index bd1eb36f1cd..5d98c5fee8a 100644 --- a/jstests/ssl/ssl_fips.js +++ b/jstests/ssl/ssl_fips.js @@ -22,6 +22,10 @@ if (mongo != 0) { /this version of mongodb was not compiled with FIPS support/)); } else { + // verify that auth works, SERVER-18051 + md.getDB("admin").createUser({user: "root", pwd: "root", roles: ["root"]}); + assert(md.getDB("admin").auth("root", "root"), "auth failed"); + // kill mongod MongoRunner.stopMongod(md); } |