Skip to content

Commit 9c0fac1

Browse files
author
David Cooper
authored
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".
1 parent bc203c5 commit 9c0fac1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

testssl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20161,6 +20161,7 @@ lets_roll() {
2016120161
fi
2016220162
if "$do_cipher_match"; then
2016320163
# we will have an invalid JSON with no if statement
20164+
((section_number++))
2016420165
fileout_section_header $section_number false
2016520166
run_cipher_match ${single_cipher}
2016620167
stopwatch run_cipher_match

0 commit comments

Comments
 (0)