From bf2a8f4cf1ea492d41d8afa4501fb663e4608696 Mon Sep 17 00:00:00 2001 From: Andrew Bonney Date: Mon, 1 Apr 2019 12:44:47 +0100 Subject: [PATCH] Fix escaping error in JSON output for OCSP stapling check --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 62f875a..1fd5ab9 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8518,7 +8518,7 @@ certificate_info() { ((ret++)) else out "(response status unknown)" - fileout "${jsonID}${json_postfix}" "OK" " not sure what's going on here, \'$ocsp_response\'" + fileout "${jsonID}${json_postfix}" "OK" " not sure what's going on here, '$ocsp_response'" debugme grep -a -A20 -B2 "OCSP response" <<<"$ocsp_response" ((ret++)) fi