summaryrefslogtreecommitdiff
path: root/tests/http/testenv/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http/testenv/env.py')
-rw-r--r--tests/http/testenv/env.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/http/testenv/env.py b/tests/http/testenv/env.py
index 0e1ce389d..ad1173a98 100644
--- a/tests/http/testenv/env.py
+++ b/tests/http/testenv/env.py
@@ -464,7 +464,9 @@ class Env:
@staticmethod
def curl_can_early_data() -> bool:
- return Env.curl_uses_any_libs(['gnutls', 'wolfssl', 'quictls', 'openssl'])
+ if Env.curl_uses_lib('gnutls'):
+ return Env.curl_lib_version_at_least('gnutls', '3.6.13')
+ return Env.curl_uses_any_libs(['wolfssl', 'quictls', 'openssl'])
@staticmethod
def curl_can_h3_early_data() -> bool: