2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-05 07:23:42 +01:00

fix wrong failure flag

This commit is contained in:
Julien Vehent 2014-10-17 11:09:42 -04:00
parent a11b594ab4
commit df0b5d8d3f

View File

@ -158,7 +158,7 @@ def is_intermediate(results):
for proto in extra_proto:
logging.debug("found protocol not wanted in the intermediate configuration:" + proto)
failures[lvl].append('disable ' + proto)
modern = False
inter = False
missing_proto = set(['TLSv1', 'TLSv1.1', 'TLSv1.2']) - set(all_proto)
for proto in missing_proto:
logging.debug("missing protocol wanted in the intermediate configuration:" + proto)