From 38a3c414cdb9c8d02904b857ba5932b114de0c5b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 28 Oct 2018 10:14:03 +0800 Subject: add bindings for supporting the issuing distribution point CRL extension (#4532) --- src/_cffi_src/openssl/x509v3.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/_cffi_src') diff --git a/src/_cffi_src/openssl/x509v3.py b/src/_cffi_src/openssl/x509v3.py index 25c4fed8..193d2e23 100644 --- a/src/_cffi_src/openssl/x509v3.py +++ b/src/_cffi_src/openssl/x509v3.py @@ -141,6 +141,15 @@ typedef struct { ...; } DIST_POINT; +typedef struct { + DIST_POINT_NAME *distpoint; + int onlyuser; + int onlyCA; + ASN1_BIT_STRING *onlysomereasons; + int indirectCRL; + int onlyattr; +} ISSUING_DIST_POINT; + typedef struct { ASN1_STRING *organization; Cryptography_STACK_OF_ASN1_INTEGER *noticenos; @@ -293,6 +302,9 @@ void DIST_POINT_NAME_free(DIST_POINT_NAME *); GENERAL_NAME *GENERAL_NAME_new(void); void GENERAL_NAME_free(GENERAL_NAME *); + +ISSUING_DIST_POINT *ISSUING_DIST_POINT_new(void); +void ISSUING_DIST_POINT_free(ISSUING_DIST_POINT *); """ CUSTOMIZATIONS = """ -- cgit v1.2.3