From 562a2f01c2de79226a8ccc718ef663363fe0d40f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 21 Aug 2025 14:28:57 +0200 Subject: [PATCH] pytest: make earlydata require gnutls 3.6.13 --- tests/http/testenv/env.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/http/testenv/env.py b/tests/http/testenv/env.py index 0e1ce389d5..ad1173a984 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: