aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-10-28 10:14:03 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2018-10-27 22:14:03 -0400
commit38a3c414cdb9c8d02904b857ba5932b114de0c5b (patch)
tree208b2addfa6981fff465d6b93f1e96109dea4fff /src
parent03eab03b882eae798d6c77fd16df7af539064d1a (diff)
downloadcryptography-38a3c414cdb9c8d02904b857ba5932b114de0c5b.tar.gz
cryptography-38a3c414cdb9c8d02904b857ba5932b114de0c5b.tar.bz2
cryptography-38a3c414cdb9c8d02904b857ba5932b114de0c5b.zip
add bindings for supporting the issuing distribution point CRL extension (#4532)
Diffstat (limited to 'src')
-rw-r--r--src/_cffi_src/openssl/x509v3.py12
1 files changed, 12 insertions, 0 deletions
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
@@ -142,6 +142,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;
} NOTICEREF;
@@ -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 = """