mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-02 06:30:53 +03:00
blockcheck: BoringSSL supports tlsmax
This commit is contained in:
parent
40c28ba6f3
commit
01bf4a62fc
@ -494,7 +494,7 @@ curl_supports_tls13()
|
|||||||
curl_supports_tlsmax()
|
curl_supports_tlsmax()
|
||||||
{
|
{
|
||||||
# supported only in OpenSSL and LibreSSL
|
# supported only in OpenSSL and LibreSSL
|
||||||
curl --version | grep -Fq -e OpenSSL -e LibreSSL -e GnuTLS -e quictls || return 1
|
curl --version | grep -Fq -e OpenSSL -e LibreSSL -e BoringSSL -e GnuTLS -e quictls || return 1
|
||||||
# supported since curl 7.54
|
# supported since curl 7.54
|
||||||
curl --tls-max 1.2 -Is -o /dev/null --max-time 1 http://127.0.0.1:65535 2>/dev/null
|
curl --tls-max 1.2 -Is -o /dev/null --max-time 1 http://127.0.0.1:65535 2>/dev/null
|
||||||
# return code 2 = init failed. likely bad command line options
|
# return code 2 = init failed. likely bad command line options
|
||||||
|
Loading…
Reference in New Issue
Block a user