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

count EDH-DES as PFS too in general stats

This commit is contained in:
Hubert Kario 2014-10-25 16:23:41 +02:00
parent af2e25ec89
commit 29c739faa9

View File

@ -276,7 +276,8 @@ for r,d,flist in os.walk(path):
""" done with this file, storing the stats """
if DHE or ECDHE:
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 ' + results['ciphersuite'][0]['pfs']] += 1
for s in temppfsstats: