Blame SOURCES/0004-Disable-test_openssl_assert_error_on_stack-in-FIPS-m.patch

2753bc
From 820d9527070ad2c7724dcecf1a35dbac7d68621d Mon Sep 17 00:00:00 2001
2753bc
From: Christian Heimes <christian@python.org>
2753bc
Date: Tue, 1 Mar 2022 16:22:51 +0100
2753bc
Subject: [PATCH 4/5] Disable test_openssl_assert_error_on_stack in FIPS mode
2753bc
2753bc
---
2753bc
 tests/hazmat/bindings/test_openssl.py | 1 +
2753bc
 1 file changed, 1 insertion(+)
2753bc
2753bc
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py
2753bc
index 129928ac0..9839aec4d 100644
2753bc
--- a/tests/hazmat/bindings/test_openssl.py
2753bc
+++ b/tests/hazmat/bindings/test_openssl.py
2753bc
@@ -84,6 +84,7 @@ class TestOpenSSL(object):
2753bc
             with pytest.raises(AttributeError):
2753bc
                 b.lib.TLS_ST_OK
2753bc
 
2753bc
+    @pytest.mark.skip_fips(reason="FIPS maps to different error codes")
2753bc
     def test_openssl_assert_error_on_stack(self):
2753bc
         b = Binding()
2753bc
         b.lib.ERR_put_error(
2753bc
-- 
2753bc
2.35.1
2753bc