2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-26 04:33:42 +01:00

fix reporting of the TLS1.2 but not TLS1.1

Some servers may be configured to support only TLS1.2, it would
count them towards the number of servers affected by the OpenSSL bug
This commit is contained in:
Hubert Kario 2014-04-06 14:13:44 +02:00
parent c8abfb53e8
commit d3b6f9b507

View File

@ -226,8 +226,8 @@ for r,d,flist in os.walk(path):
protocolstats['TLS1.2'] += 1
if not SSL2 and not SSL3 and not TLS1 and not TLS1_1:
protocolstats['TLS1.2 Only'] += 1
if TLS1_2 and not TLS1_1:
protocolstats['TLS1.2 but not 1.1'] += 1
if TLS1_2 and not TLS1_1 and TLS1:
protocolstats['TLS1.2, 1.0 but not 1.1'] += 1
# for testing, break early
#if total % 1999 == 0: