mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-12-26 04:33:42 +01:00
stop reading the SSL certificate after we get the sigalg from it
This commit is contained in:
parent
87ecf60212
commit
f618e9a12e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user