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

stop reading the SSL certificate after we get the sigalg from it

This commit is contained in:
Richard Soderberg 2015-09-18 14:30:21 -07:00
parent 87ecf60212
commit f618e9a12e

View File

@ -458,6 +458,7 @@ parse_openssl_output() {
while read data; do while read data; do
if [[ $data =~ $regex ]]; then if [[ $data =~ $regex ]]; then
current_sigalg="${BASH_REMATCH[1]// /_}" current_sigalg="${BASH_REMATCH[1]// /_}"
break
fi fi
done <<<"$ossl_out" done <<<"$ossl_out"
fi fi