From 80076070376db26f901deabf2c7f6bd0adb58643 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 5 Oct 2018 16:42:32 +0200 Subject: [PATCH] Add jsonID to EC in run_pfs() --- testssl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testssl.sh b/testssl.sh index b243dd0..647bbe6 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8737,13 +8737,13 @@ run_pfs() { # severity ratings based on quality specified by # pr_ecdh_quality() for shortest curve offered. if [[ "$low" -le 163 ]]; then - fileout "ECDHE_curves" "MEDIUM" "$curves_offered" + fileout "${jsonID}_ECDHE_curves" "MEDIUM" "$curves_offered" elif [[ "$low" -le 193 ]]; then - fileout "ECDHE_curves" "LOW" "$curves_offered" + fileout "${jsonID}_ECDHE_curves" "LOW" "$curves_offered" elif [[ "$low" -le 224 ]]; then - fileout "ECDHE_curves" "INFO" "$curves_offered" + fileout "${jsonID}_ECDHE_curves" "INFO" "$curves_offered" else - fileout "ECDHE_curves" "OK" "$curves_offered" + fileout "${jsonID}_ECDHE_curves" "OK" "$curves_offered" fi fi fi