Add jsonID to EC in run_pfs()

This commit is contained in:
Dirk 2018-10-05 16:42:32 +02:00
parent 1d8e347ea8
commit 8007607037

View File

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