From 66c1a1354ae706534358bd0fdce9dce3e688b251 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 19 Oct 2023 18:14:53 -0400 Subject: [PATCH] Make X509_ALGOR opaque --- src/_cffi_src/openssl/x509.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py index f071be3d231a6..13c9e5d5d6f90 100644 --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -24,11 +24,7 @@ typedef ... Cryptography_STACK_OF_X509_CRL; typedef ... Cryptography_STACK_OF_X509_REVOKED; -typedef struct { - ASN1_OBJECT *algorithm; - ...; -} X509_ALGOR; - +typedef ... X509_ALGOR; typedef ... X509_ATTRIBUTE; typedef ... X509_EXTENSION; typedef ... X509_EXTENSIONS;