From 15d77628526c9199a889182c5669cad64b50e186 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 2f6adc9..3f58aac 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: