From af2e25ec897584014678abf9c9efe6915178d81c Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sat, 25 Oct 2014 16:11:18 +0200 Subject: [PATCH] fix EDH checking old ciphers have names that use EDH instead of DHE so we need check for both names --- top1m/parse_results.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index 50ee271..fd92bbf 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -373,8 +373,9 @@ for r,d,flist in os.walk(path): if client_compat[client_name]: if 'ECDHE' in client_selected[client_name]: client_selected_cipherstats[client_name]['x:ECDHE'] += 1 - elif 'DHE' in client_selected[client_name]: - client_selected_cipherstats[client_name]['x:DHE'] += 1 + elif 'DHE' in client_selected[client_name] or \ + 'EDH' in client_selected[client_name]: + client_selected_cipherstats[client_name]['x:DHE'] += 1 else: client_selected_cipherstats[client_name]['x:kRSA'] += 1