summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-01-14 09:32:12 -0500
committeradeshkp <adeshkp@users.noreply.github.com>2019-01-14 09:32:12 -0500
commitacf1406e0e7bd306ad0ba5571a22b3a5d9296471 (patch)
tree5c26c13aa0ef08d3d95c265ef64dfd029a071def /security
parent09a81ba9b63c6bb966932e214bc0ead41db15403 (diff)
downloadUXP-acf1406e0e7bd306ad0ba5571a22b3a5d9296471.tar
UXP-acf1406e0e7bd306ad0ba5571a22b3a5d9296471.tar.gz
UXP-acf1406e0e7bd306ad0ba5571a22b3a5d9296471.tar.lz
UXP-acf1406e0e7bd306ad0ba5571a22b3a5d9296471.tar.xz
UXP-acf1406e0e7bd306ad0ba5571a22b3a5d9296471.zip
Remove a pointless `switch` after telemetry cleanup
Diffstat (limited to 'security')
-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)) {