2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-16 20:03:41 +01:00

more detailed PFS report

Just because server supports some bad DH params, doesn't mean
it will force them on users. Report number of servers
that prefer specific DH params.
This commit is contained in:
Hubert Kario 2014-04-06 14:15:32 +02:00
parent 15d7762852
commit 39c3e1978a

View File

@ -152,6 +152,7 @@ for r,d,flist in os.walk(path):
pfsstats['Support PFS'] += 1
if 'DHE-' in results['ciphersuite'][0]['cipher']:
pfsstats['Prefer PFS'] += 1
pfsstats['Prefer ' + results['ciphersuite'][0]['pfs']] += 1
for s in temppfsstats:
pfsstats[s] += 1