diff options
Diffstat (limited to 'jstests/ssl/tls1_0.js')
-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) { |