Merge pull request #1668 from drwetter/1657_polish

Polish STARTTLS rating output
This commit is contained in:
Dirk Wetter
2020-06-26 10:02:23 +02:00
committed by GitHub
4 changed files with 9 additions and 8 deletions

View File

@ -20802,7 +20802,7 @@ run_rating() {
pr_headlineln " Rating (experimental) "
outln
[[ -n "$STARTTLS_PROTOCOL" ]] && set_grade_cap "T" "Encryption via STARTTLS is not mandatory (opportunistic). This leads to a false sense of security"
[[ -n "$STARTTLS_PROTOCOL" ]] && set_grade_cap "T" "Encryption via STARTTLS is not mandatory (opportunistic)."
# Sort the reasons. This is just nicer to read in genereal
IFS=$'\n' sorted_reasons=($(sort -ru <<<"${GRADE_CAP_REASONS[*]}"))