2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-25 12:13:41 +01:00

fix EDH checking

old ciphers have names that use EDH instead of DHE so we need check
for both names
This commit is contained in:
Hubert Kario 2014-10-25 16:11:18 +02:00
parent 76d791fcbe
commit af2e25ec89

View File

@ -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