Skip to content

Commit

Permalink
Add jsonID to EC in run_pfs()
Browse files Browse the repository at this point in the history
  • Loading branch information
drwetter committed Oct 5, 2018
1 parent 1d8e347 commit 8007607
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8007607

Please sign in to comment.