From 9ff0e67431a3bf8c82c7ccd71179e9a5e91d4cd6 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 17 Feb 2022 18:12:17 +0300 Subject: [PATCH] blockcheck: GnuTLS allows --tls-max --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index c33441d..483f414 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -256,7 +256,7 @@ curl_supports_tls13() curl_supports_tlsmax() { # supported only in OpenSSL and LibreSSL - curl --version | grep -Fq -e OpenSSL -e LibreSSL || return 1 + curl --version | grep -Fq -e OpenSSL -e LibreSSL -e GnuTLS || return 1 # supported since curl 7.54 curl --tls-max 1.2 -Is -o /dev/null http://$LOCALHOST_IPT:65535 2>/dev/null # return code 2 = init failed. likely bad command line options