Skip to content

Commit 76ad3dd

Browse files
authored
Make OpenSSL ASN.1 string types opaque for OpenSSL 4 compat (#14698)
1 parent 43f6a2e commit 76ad3dd

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

src/_cffi_src/openssl/asn1.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,11 @@
1313
1414
typedef ... ASN1_INTEGER;
1515
16-
struct asn1_string_st {
17-
int length;
18-
int type;
19-
unsigned char *data;
20-
long flags;
21-
};
22-
23-
typedef struct asn1_string_st ASN1_OCTET_STRING;
24-
typedef struct asn1_string_st ASN1_IA5STRING;
25-
typedef struct asn1_string_st ASN1_TIME;
16+
typedef ... ASN1_OCTET_STRING;
17+
typedef ... ASN1_IA5STRING;
18+
typedef ... ASN1_TIME;
2619
typedef ... ASN1_OBJECT;
27-
typedef struct asn1_string_st ASN1_STRING;
20+
typedef ... ASN1_STRING;
2821
typedef ... ASN1_GENERALIZEDTIME;
2922
typedef ... ASN1_ENUMERATED;
3023

0 commit comments

Comments
 (0)