1
0
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:
David Cooper
2021-12-08 14:38:37 -05:00
committed by GitHub
parent bc203c5b4c
commit 9c0fac1790

@ -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