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

Merge branch 'master' of github.com:jvehent/cipherscan

This commit is contained in:
Julien Vehent 2015-03-19 11:30:46 -04:00
commit 8b38f8fad9
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ def is_fubar(results):
has_wrong_pfs = True has_wrong_pfs = True
if 'md5WithRSAEncryption' in conn['sigalg']: if 'md5WithRSAEncryption' in conn['sigalg']:
has_md5_sig = True has_md5_sig = True
logging.debug(conn['sigalg']+ ' is a fubar cert signature') logging.debug(conn['sigalg'][0] + ' is a fubar cert signature')
fubar = True fubar = True
if conn['trusted'] == 'False': if conn['trusted'] == 'False':
has_untrust_cert = True has_untrust_cert = True

View File

@ -19,7 +19,7 @@ if [ "$(uname -s)" == "Darwin" ]; then
fi fi
# cipherscan requires bash4, which doesn't come by default in OSX # cipherscan requires bash4, which doesn't come by default in OSX
if [ "$(bash --version |grep 'version 4')" == "" ]; then if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
echo "Bash version 4 is required to run cipherscan." echo "Bash version 4 is required to run cipherscan."
echo "Please upgrade your version of bash (ex: brew install bash)." echo "Please upgrade your version of bash (ex: brew install bash)."
exit 1 exit 1