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

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

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