mirror of
https://github.com/curl/curl.git
synced 2026-06-02 04:14:15 +03:00
GnuTLS: require 3.7.2 for earlydata
Since all API features we need for TLSv1.3 earlydata support do exist only from version 3.7.2 onwards, make that the minimal version required. Fixes #21750 Reported-by: Johannes Schlatow Closes #21751
This commit is contained in:
parent
eb8f31e18b
commit
f27233e984
2 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ static void tls_log_func(int level, const char *str)
|
|||
#endif
|
||||
|
||||
#undef CURL_GNUTLS_EARLY_DATA
|
||||
#if GNUTLS_VERSION_NUMBER >= 0x03060d
|
||||
#if GNUTLS_VERSION_NUMBER >= 0x030702
|
||||
#define CURL_GNUTLS_EARLY_DATA
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -523,7 +523,7 @@ class Env:
|
|||
@staticmethod
|
||||
def curl_can_early_data() -> bool:
|
||||
if Env.curl_uses_lib('gnutls'):
|
||||
return Env.curl_lib_version_at_least('gnutls', '3.6.13')
|
||||
return Env.curl_lib_version_at_least('gnutls', '3.7.2')
|
||||
return Env.curl_uses_any_libs(['wolfssl', 'quictls', 'openssl'])
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue