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
1 changed files with 3 additions and 2 deletions

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