blockcheck: max-time in tls1.3 online test

This commit is contained in:
bol-van 2022-01-22 18:16:38 +03:00
parent e2b275c1b3
commit c35ea50c24

View File

@ -262,7 +262,7 @@ curl_supports_tls13()
[ $? = 2 ] && return 1 [ $? = 2 ] && return 1
# curl can have tlsv1.3 key present but ssl library without TLS 1.3 support # 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 # 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 ] [ $? != 4 ]
} }
curl_supports_tlsmax() curl_supports_tlsmax()