mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-07-18 19:51:45 +02:00
Fix JSON header
This commit fixes an issue with the headers in the structured JSON output. If run_cipher_match() is performed the header that is used is "pretest" rather than "singleCipher".
This commit is contained in:
@ -20161,6 +20161,7 @@ lets_roll() {
|
|||||||
fi
|
fi
|
||||||
if "$do_cipher_match"; then
|
if "$do_cipher_match"; then
|
||||||
# we will have an invalid JSON with no if statement
|
# we will have an invalid JSON with no if statement
|
||||||
|
((section_number++))
|
||||||
fileout_section_header $section_number false
|
fileout_section_header $section_number false
|
||||||
run_cipher_match ${single_cipher}
|
run_cipher_match ${single_cipher}
|
||||||
stopwatch run_cipher_match
|
stopwatch run_cipher_match
|
||||||
|
Reference in New Issue
Block a user