parse_results.py: don't count anonymous cipher suites toward correct config stats

This commit is contained in:
Hubert Kario 2014-06-04 15:15:32 +02:00
parent ee81927200
commit 86ff1122cc
1 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,11 @@ for r,d,flist in os.walk(path):
continue
""" store the ciphers supported """
if 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']:
if 'ADH' in entry['cipher'] or 'AECDH' in entry['cipher']:
ciphertypes += 1
name = "z:" + entry['cipher']
cipherstats[name] += 1
elif 'AES128-GCM' in entry['cipher'] or 'AES256-GCM' in entry['cipher']:
if not AESGCM:
AESGCM = True
ciphertypes += 1