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

master
Julien Vehent 2014-01-09 11:53:54 -05:00
commit 5df0fe3d52
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ EOF
current_protocol=$(grep -E "^\s+Protocol\s+:" $tmp|awk '{print $3}')
if [[ -z "$current_protocol" || "$current_cipher" == '(NONE)' ]]; then
# connection failed, try again with next TLS version
rm "$tmp"
continue
fi
# connection succeeded, add TLS version to positive results