summaryrefslogtreecommitdiffstats
path: root/security/manager
diff options
context:
space:
mode:
Diffstat (limited to 'security/manager')
-rw-r--r--security/manager/ssl/nsNSSIOLayer.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/security/manager/ssl/nsNSSIOLayer.cpp b/security/manager/ssl/nsNSSIOLayer.cpp
index aec3dec12..337ef8b8e 100644
--- a/security/manager/ssl/nsNSSIOLayer.cpp
+++ b/security/manager/ssl/nsNSSIOLayer.cpp
@@ -1093,20 +1093,6 @@ retryDueToTLSIntolerance(PRErrorCode err, nsNSSSocketInfo* socketInfo)
return false;
}
- switch (range.max) {
- case SSL_LIBRARY_VERSION_TLS_1_3:
- break;
- case SSL_LIBRARY_VERSION_TLS_1_2:
- break;
- case SSL_LIBRARY_VERSION_TLS_1_1:
- break;
- case SSL_LIBRARY_VERSION_TLS_1_0:
- break;
- default:
- MOZ_CRASH("impossible TLS version");
- return false;
- }
-
if (!helpers.rememberIntolerantAtVersion(socketInfo->GetHostName(),
socketInfo->GetPort(),
range.min, range.max, err)) {