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:
parent
76d791fcbe
commit
af2e25ec89
@ -373,8 +373,9 @@ 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 \
|
||||||
client_selected_cipherstats[client_name]['x:DHE'] += 1
|
'EDH' in client_selected[client_name]:
|
||||||
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user