Merge pull request #1587 from drwetter/np_fix30

Negotiated protocol showed no warning for TLS 1.1/1.0
This commit is contained in:
Dirk Wetter 2020-04-25 11:13:49 +02:00 committed by GitHub
commit 3c403a2484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6392,12 +6392,12 @@ run_server_preference() {
fileout "$jsonID" "OK" "Default protocol TLS1.2"
;;
*TLSv1.1)
prln_svrty_good $default_proto
fileout "$jsonID" "OK" "Default protocol TLS1.1"
prln_svrty_low $default_proto
fileout "$jsonID" "LOW" "Default protocol TLS1.1"
;;
*TLSv1)
outln $default_proto
fileout "$jsonID" "INFO" "Default protocol TLS1.0"
prln_svrty_low $default_proto
fileout "$jsonID" "LOW" "Default protocol TLS1.0"
;;
*SSLv2)
prln_svrty_critical $default_proto