Skip to content

Commit

Permalink
Try removing a workaround for old OpenSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jul 15, 2024
1 parent 8c6d37e commit 7b0e0a9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/hazmat/primitives/test_pkcs7.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 7b0e0a9

Please sign in to comment.