diff options
author | Tim Taubert <ttaubert@mozilla.com> | 2016-03-11 11:52:04 +0100 |
---|---|---|
committer | Tim Taubert <ttaubert@mozilla.com> | 2016-03-11 11:52:04 +0100 |
commit | f83759faedaff3ec275ac5bfb2e71a5cdc84c605 (patch) | |
tree | 48582892e21db6fef3b9da5883b51bdad679b14e /lib/ssl/sslauth.c | |
parent | 4a18517e2130ec789aed957e3f9ffafd30f04075 (diff) | |
download | nss-hg-f83759faedaff3ec275ac5bfb2e71a5cdc84c605.tar.gz |
Bug 1228555 - Remove support for SSLv2 r=mt,wtc,ekr
Diffstat (limited to 'lib/ssl/sslauth.c')
-rw-r--r-- | lib/ssl/sslauth.c | 6 |
1 files changed, 1 insertions, 5 deletions
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")) |