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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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