summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-04-18 14:02:40 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-04-18 15:08:02 -0400
commitcb67c7834fd618fd751a0f0ebb5bde20ae328064 (patch)
treedc4901670f52a64543ec87341aa64c1c307e3e01 /jstests/ssl
parent55aac9ac800531ad021f18f56d69c69ac5619245 (diff)
downloadmongo-cb67c7834fd618fd751a0f0ebb5bde20ae328064.tar.gz
SERVER-34468 Disable TLS 1.0 by default on Apple
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/tls1_0.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/jstests/ssl/tls1_0.js b/jstests/ssl/tls1_0.js
index 0267485cb49..dc2b706ae80 100644
--- a/jstests/ssl/tls1_0.js
+++ b/jstests/ssl/tls1_0.js
@@ -28,13 +28,7 @@
const defaultEnableTLS1_0 = (function() {
// If the build doesn't support TLS 1.1, then TLS 1.0 is left enabled.
- if (!supportsTLS1_1) {
- return true;
- }
- // If we're on Apple, then TLS 1.0 is left enabled regardless
- // to support other tools on the system which may be TLS 1.0 only.
- const buildEnv = getBuildInfo().buildEnvironment || {};
- return (buildEnv.target_os === 'macOS');
+ return !supportsTLS1_1;
})();
function test(serverDP, clientDP, shouldSucceed) {