From d3b6f9b50731bb692f4d5c561de2cf3767efe673 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sun, 6 Apr 2014 14:13:44 +0200 Subject: [PATCH] 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 --- top1m/parse_results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index b7cc720..db23887 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -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: