From f83759faedaff3ec275ac5bfb2e71a5cdc84c605 Mon Sep 17 00:00:00 2001 From: Tim Taubert Date: Fri, 11 Mar 2016 11:52:04 +0100 Subject: Bug 1228555 - Remove support for SSLv2 r=mt,wtc,ekr --- lib/ssl/sslauth.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/ssl/sslauth.c') diff --git a/lib/ssl/sslauth.c b/lib/ssl/sslauth.c index 7fb4dc5ff..6f8ad367b 100644 --- a/lib/ssl/sslauth.c +++ b/lib/ssl/sslauth.c @@ -121,11 +121,7 @@ SSL_SecurityStatus(PRFileDesc *fd, int *op, char **cp, int *kp0, int *kp1, } if (ss->opt.useSecurity && ss->enoughFirstHsDone) { - if (ss->version < SSL_LIBRARY_VERSION_3_0) { - cipherName = ssl_cipherName[ss->sec.cipherType]; - } else { - cipherName = ssl3_cipherName[ss->sec.cipherType]; - } + cipherName = ssl3_cipherName[ss->sec.cipherType]; PORT_Assert(cipherName); if (cipherName) { if (PORT_Strstr(cipherName, "DES")) -- cgit v1.2.1