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.
master
Hubert Kario 2014-04-06 14:15:32 +02:00
parent d3b6f9b507
commit 349d4ebc3c
1 changed files with 1 additions and 0 deletions

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