mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: curl fix tls1.2 version in tls1.2 tests
This commit is contained in:
parent
f4b837d919
commit
42eb901928
@ -193,7 +193,7 @@ curl_test_https_tls12()
|
|||||||
|
|
||||||
# prevent using QUIC if available in curl
|
# prevent using QUIC if available in curl
|
||||||
# do not use tls 1.3 to make sure server certificate is not encrypted
|
# do not use tls 1.3 to make sure server certificate is not encrypted
|
||||||
curl -${1}Ss --max-time $CURL_MAX_TIME $CURL_OPT --http1.1 $TLSMAX12 "https://$2" -o /dev/null 2>&1
|
curl -${1}Ss --max-time $CURL_MAX_TIME $CURL_OPT --http1.1 --tlsv1.2 $TLSMAX12 "https://$2" -o /dev/null 2>&1
|
||||||
}
|
}
|
||||||
curl_test_https_tls13()
|
curl_test_https_tls13()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user