summaryrefslogtreecommitdiff
path: root/jstests/ssl/ssl_crl.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/ssl/ssl_crl.js')
-rw-r--r--jstests/ssl/ssl_crl.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/jstests/ssl/ssl_crl.js b/jstests/ssl/ssl_crl.js
index 96c12b91bb9..9f70ba91b2b 100644
--- a/jstests/ssl/ssl_crl.js
+++ b/jstests/ssl/ssl_crl.js
@@ -8,20 +8,12 @@ load("jstests/libs/ssl_test.js");
var testUnrevoked = new SSLTest(
// Server option overrides
- {
- sslMode: "requireSSL",
- sslCRLFile: "jstests/libs/crl.pem"
- }
-);
+ {sslMode: "requireSSL", sslCRLFile: "jstests/libs/crl.pem"});
assert(testUnrevoked.connectWorked());
var testRevoked = new SSLTest(
// Server option overrides
- {
- sslMode: "requireSSL",
- sslCRLFile: "jstests/libs/crl_expired.pem"
- }
-);
+ {sslMode: "requireSSL", sslCRLFile: "jstests/libs/crl_expired.pem"});
assert(!testRevoked.connectWorked());