mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Merge pull request #2064 from dcooper16/fix_json_headers
Fix JSON section headers
This commit is contained in:
commit
0118603401
@ -1154,8 +1154,8 @@ fileout_json_section() {
|
||||
2) echo -e ",\n \"protocols\" : [" ;;
|
||||
3) echo -e ",\n \"grease\" : [" ;;
|
||||
4) echo -e ",\n \"ciphers\" : [" ;;
|
||||
5) echo -e ",\n \"fs\" : [" ;;
|
||||
6) echo -e ",\n \"serverPreferences\" : [" ;;
|
||||
5) echo -e ",\n \"serverPreferences\" : [" ;;
|
||||
6) echo -e ",\n \"fs\" : [" ;;
|
||||
7) echo -e ",\n \"serverDefaults\" : [" ;;
|
||||
8) echo -e ",\n \"headerResponse\" : [" ;;
|
||||
9) echo -e ",\n \"vulnerabilities\" : [" ;;
|
||||
@ -23062,6 +23062,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
|
||||
|
Loading…
Reference in New Issue
Block a user