summaryrefslogtreecommitdiff
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
commit4788f76cb9cd5b61e8994d85cb771101b2cb888e (patch)
tree5c26c13aa0ef08d3d95c265ef64dfd029a071def
parenteb01bd5e36363f516efe658650f040fb35333422 (diff)
downloaduxp-4788f76cb9cd5b61e8994d85cb771101b2cb888e.tar.gz
Remove a pointless `switch` after telemetry cleanup
-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 aec3dec12e..337ef8b8e6 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)) {