From 9c0fac1790d3f431015c172bbbc7b691f31c0a77 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 8 Dec 2021 14:38:37 -0500 Subject: [PATCH] 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". --- testssl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/testssl.sh b/testssl.sh index cb03d96..e7412f8 100755 --- a/testssl.sh +++ b/testssl.sh @@ -20161,6 +20161,7 @@ lets_roll() { fi if "$do_cipher_match"; then # we will have an invalid JSON with no if statement + ((section_number++)) fileout_section_header $section_number false run_cipher_match ${single_cipher} stopwatch run_cipher_match