mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
certificate_info(): Fix unassigned variable.
Fix referenced but not assigned variable 'sign_algo'. In testssl.sh line 4309: fileout "${json_prefix}algorithm" "DEBUG" "Signature Algorithm: $sign_algo" ^-- SC2154: sign_algo is referenced but not assigned. Found by ShellCheck.
This commit is contained in:
parent
f0132dcb7f
commit
b9d9a909b1
@ -4306,7 +4306,7 @@ certificate_info() {
|
||||
out "$cert_sig_algo ("
|
||||
pr_warning "FIXME: can't tell whether this is good or not"
|
||||
outln ")"
|
||||
fileout "${json_prefix}algorithm" "DEBUG" "Signature Algorithm: $sign_algo"
|
||||
fileout "${json_prefix}algorithm" "DEBUG" "Signature Algorithm: $cert_sig_algo"
|
||||
;;
|
||||
esac
|
||||
# old, but interesting: https://blog.hboeck.de/archives/754-Playing-with-the-EFF-SSL-Observatory.html
|
||||
|
Loading…
Reference in New Issue
Block a user