run_protocols() bug fix

Since the test for TLS 1.2 in `run_protocols()` now uses `tls_sockets()` whenever `$ssl_native` is `true` (i.e., there is no longer a requirement for `$EXPERIMENTAL` to be true as well), the `$EXPERIMENTAL` flag should no longer be checked if the return value is 1.
This commit is contained in:
David Cooper 2017-02-14 16:43:46 -05:00 committed by GitHub
parent 4b193119b3
commit 004cbad07b

View File

@ -4506,7 +4506,7 @@ run_protocols() {
;; # GCM cipher in TLS 1.2: very good!
1)
pr_svrty_mediumln "not offered"
if ! "$using_sockets" || ! "$EXPERIMENTAL" || [[ -z $latest_supported ]]; then
if ! "$using_sockets" || [[ -z $latest_supported ]]; then
fileout "tls1_2" "MEDIUM" "TLSv1.2 is not offered" # no GCM, penalty
else
pr_svrty_criticalln " -- connection failed rather than downgrading to $latest_supported_string"