From c35ea50c2437e5a9a866829dd1385c114db97d33 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 22 Jan 2022 18:16:38 +0300 Subject: [PATCH] blockcheck: max-time in tls1.3 online test --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index 7de9227..e5bc791 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -262,7 +262,7 @@ curl_supports_tls13() [ $? = 2 ] && return 1 # curl can have tlsv1.3 key present but ssl library without TLS 1.3 support # this is online test because there's no other way to trigger library incompatibility case - curl --tlsv1.3 -Is -o /dev/null https://w3.org 2>/dev/null + curl --tlsv1.3 --max-time $CURL_MAX_TIME -Is -o /dev/null https://w3.org 2>/dev/null [ $? != 4 ] } curl_supports_tlsmax()