mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-05 07:23:42 +01:00
cipherscan - capture whole Signature Algorithm line
the GOST certificates have a signature algorithm name with spaces
This commit is contained in:
parent
d151705218
commit
8ea6b57f9d
@ -311,7 +311,12 @@ parse_openssl_output() {
|
||||
while read data; do
|
||||
if [[ $data =~ Signature\ Algorithm ]]; then
|
||||
local match=($data)
|
||||
current_sigalg="${match[2]}"
|
||||
unset match[0]
|
||||
unset match[1]
|
||||
local old_IFS="$IFS"
|
||||
IFS="_"
|
||||
current_sigalg="${match[*]}"
|
||||
IFS="$old_IFS"
|
||||
fi
|
||||
done <<<"$ossl_out"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user