From 89f5d45a3331cc644a938e860d73c85d6ba2601e Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 29 Apr 2025 10:20:34 +0200 Subject: [PATCH] ngtcp2+openssl: enable test 17_10 TLS session reuse in QUIC is also implemented for ngtcp2+openssl. Enable the test. Closes #17218 --- tests/http/test_17_ssl_use.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/http/test_17_ssl_use.py b/tests/http/test_17_ssl_use.py index c8445251ce..248170af04 100644 --- a/tests/http/test_17_ssl_use.py +++ b/tests/http/test_17_ssl_use.py @@ -318,6 +318,7 @@ class TestSSLUse: if not env.have_h3(): pytest.skip("h3 not supported") if not env.curl_uses_lib('quictls') and \ + not (env.curl_uses_lib('openssl') and env.curl_uses_lib('ngtcp2')) and \ not env.curl_uses_lib('gnutls') and \ not env.curl_uses_lib('wolfssl'): pytest.skip("QUIC session reuse not implemented") @@ -337,8 +338,7 @@ class TestSSLUse: # check that TLS session was reused as expected reused_session = False for line in r.trace_lines: - m = re.match(r'\[1-1] \* SSL reusing session.*', line) - if m: + if re.match(r'.*\[1-1] (\* )?SSL reusing session.*', line): reused_session = True assert reused_session, f'{r}\n{r.dump_logs()}' -- 2.47.3