2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 14:23: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,7 +373,8 @@ for r,d,flist in os.walk(path):
if client_compat[client_name]: if client_compat[client_name]:
if 'ECDHE' in client_selected[client_name]: if 'ECDHE' in client_selected[client_name]:
client_selected_cipherstats[client_name]['x:ECDHE'] += 1 client_selected_cipherstats[client_name]['x:ECDHE'] += 1
elif 'DHE' in client_selected[client_name]: elif 'DHE' in client_selected[client_name] or \
'EDH' in client_selected[client_name]:
client_selected_cipherstats[client_name]['x:DHE'] += 1 client_selected_cipherstats[client_name]['x:DHE'] += 1
else: else:
client_selected_cipherstats[client_name]['x:kRSA'] += 1 client_selected_cipherstats[client_name]['x:kRSA'] += 1