From 86ff1122cc9b05bb19427dea2ea6e54ffb6308f4 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Wed, 4 Jun 2014 15:15:32 +0200 Subject: [PATCH] parse_results.py: don't count anonymous cipher suites toward correct config stats --- top1m/parse_results.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index e4119fc..035de09 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -75,7 +75,11 @@ for r,d,flist in os.walk(path): continue """ store the ciphers supported """ - if 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']: + if 'ADH' in entry['cipher'] or 'AECDH' in entry['cipher']: + ciphertypes += 1 + name = "z:" + entry['cipher'] + cipherstats[name] += 1 + elif 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']: if not AESGCM: AESGCM = True ciphertypes += 1