1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-15 10:11:57 +02:00

Merge pull request 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

@ -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