Package: src:pyopenssl
Version: 25.3.0-1
Severity important
Tags: sid patch
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-3.6
control: forwarded -1 https://github.com/pyca/pyopenssl/issues/1455

pyopenssl tests OCSP response in its testsuite and it passes a string in
its calback. This worked and breaks with openssl 3.6. Occording to
upstream, this worked by chance. This has been reported to pyopenssl
upstream. I suggest to disable the test until it is properly fixed.

Sebastan
>From 95bc467eac897bdff2940ba3793e570e7617cd52 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <[email protected]>
Date: Wed, 11 Mar 2026 22:47:09 +0100
Subject: [PATCH] test_ssl: Skip test_client_receives_servers_data

The OCSP response must not be a string.
See https://github.com/openssl/openssl/issues/30379

Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
---
 tests/test_ssl.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 70c1de50e4d1..6362c025aca9 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -4618,6 +4618,7 @@ T = typing.TypeVar("T")
         assert len(called) == 1
         assert called[0] == b""
 
+    @pytest.mark.skip(reason="OCSP data must not be a string")
     def test_client_receives_servers_data(self) -> None:
         """
         The data the server sends in its callback is received by the client.
-- 
2.53.0

Reply via email to