Merge pull request #1014 from dcooper16/tls13_cipher_pre_check

Check for TLSv1.3 in OpenSSL
This commit is contained in:
Dirk Wetter 2018-03-15 21:51:44 +01:00 committed by GitHub
commit f6dc501aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5607,6 +5607,10 @@ cipher_pref_check() {
out "\n SSLv3: "; pr_local_problem "$OPENSSL doesn't support \"s_client -ssl3\"";
continue
fi
if [[ $p == tls1_3 ]] && ! "$HAS_TLS13" && ! "$using_sockets"; then
out "\n TLSv1.3 "; pr_local_problem "$OPENSSL doesn't support \"s_client -tls1_3\"";
continue
fi
[[ $(has_server_protocol "$p") -eq 1 ]] && continue