From 7b0e0a962594e66a1c278f3a1e2ee91ca1be9fcc Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 14 Jul 2024 21:59:11 -0400 Subject: [PATCH] Try removing a workaround for old OpenSSL --- tests/hazmat/primitives/test_pkcs7.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/hazmat/primitives/test_pkcs7.py b/tests/hazmat/primitives/test_pkcs7.py index 4c4c0aa7dd50..7079f5b14a7d 100644 --- a/tests/hazmat/primitives/test_pkcs7.py +++ b/tests/hazmat/primitives/test_pkcs7.py @@ -149,10 +149,6 @@ def _pkcs7_verify(encoding, sig, msg, certs, options, backend): p7, backend._ffi.NULL, store, msg_bio.bio, out_bio, flags ) backend.openssl_assert(res == 1) - # OpenSSL 3.0 leaves a random bio error on the stack: - # https://github.com/openssl/openssl/issues/16681 - if rust_openssl.CRYPTOGRAPHY_OPENSSL_300_OR_GREATER: - backend._consume_errors() def _load_cert_key():