diff --git a/signxml/verifier.py b/signxml/verifier.py index 156e579..10c1ef6 100644 --- a/signxml/verifier.py +++ b/signxml/verifier.py @@ -377,7 +377,7 @@ def verify( "SignXML received a PyOpenSSL object as x509_cert input. Please pass a Cryptography.X509 object instead.", DeprecationWarning ) - x509_cert = x509_cert.to_cryptography() + x509_cert = x509_cert.to_cryptography() # type: ignore[union-attr] if id_attribute is not None: self.id_attributes = (id_attribute,)