From 29c739faa98fe7688c3f97a663e0cb57ec5e7e37 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sat, 25 Oct 2014 16:23:41 +0200 Subject: [PATCH] count EDH-DES as PFS too in general stats --- top1m/parse_results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index fd92bbf..0da5e42 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -276,7 +276,8 @@ for r,d,flist in os.walk(path): """ done with this file, storing the stats """ if DHE or ECDHE: pfsstats['Support PFS'] += 1 - if 'DHE-' in results['ciphersuite'][0]['cipher']: + if 'DHE-' in results['ciphersuite'][0]['cipher'] or \ + 'EDH-' in results['ciphersuite'][0]['cipher']: pfsstats['Prefer PFS'] += 1 pfsstats['Prefer ' + results['ciphersuite'][0]['pfs']] += 1 for s in temppfsstats: