mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
count EDH-DES as PFS too in general stats
This commit is contained in:
parent
af2e25ec89
commit
29c739faa9
@ -276,7 +276,8 @@ for r,d,flist in os.walk(path):
|
|||||||
""" done with this file, storing the stats """
|
""" done with this file, storing the stats """
|
||||||
if DHE or ECDHE:
|
if DHE or ECDHE:
|
||||||
pfsstats['Support PFS'] += 1
|
pfsstats['Support PFS'] += 1
|
||||||
if 'DHE-' in results['ciphersuite'][0]['cipher']:
|
if 'DHE-' in results['ciphersuite'][0]['cipher'] or \
|
||||||
|
'EDH-' in results['ciphersuite'][0]['cipher']:
|
||||||
pfsstats['Prefer PFS'] += 1
|
pfsstats['Prefer PFS'] += 1
|
||||||
pfsstats['Prefer ' + results['ciphersuite'][0]['pfs']] += 1
|
pfsstats['Prefer ' + results['ciphersuite'][0]['pfs']] += 1
|
||||||
for s in temppfsstats:
|
for s in temppfsstats:
|
||||||
|
Loading…
Reference in New Issue
Block a user