diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-04-18 14:02:40 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-04-18 15:08:02 -0400 |
commit | cb67c7834fd618fd751a0f0ebb5bde20ae328064 (patch) | |
tree | dc4901670f52a64543ec87341aa64c1c307e3e01 /jstests/ssl | |
parent | 55aac9ac800531ad021f18f56d69c69ac5619245 (diff) | |
download | mongo-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.js | 8 |
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) { |