aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-02-26 21:27:16 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-02-26 21:27:16 -0600
commite0b4a6ffbb30c14bd61b6c230a3e09212b4c9498 (patch)
tree13125654a55a9263ee3c33f00ee06b94ebdca6a8 /src
parentc96ef9d5cd028e13186787d484bd7abba6f67906 (diff)
parentce1bdcaf0451f85da20648b0f0597280a7876071 (diff)
downloadcryptography-e0b4a6ffbb30c14bd61b6c230a3e09212b4c9498.tar.gz
cryptography-e0b4a6ffbb30c14bd61b6c230a3e09212b4c9498.tar.bz2
cryptography-e0b4a6ffbb30c14bd61b6c230a3e09212b4c9498.zip
Merge pull request #2737 from alex/policy-constraints-bindings
Added policy constraint struct binding
Diffstat (limited to 'src')
-rw-r--r--src/_cffi_src/openssl/x509v3.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509v3.py b/src/_cffi_src/openssl/x509v3.py
index 51c8410a..7bc7dc0d 100644
--- a/src/_cffi_src/openssl/x509v3.py
+++ b/src/_cffi_src/openssl/x509v3.py
@@ -78,6 +78,11 @@ typedef struct {
Cryptography_STACK_OF_GENERAL_SUBTREE *excludedSubtrees;
} NAME_CONSTRAINTS;
+typedef struct {
+ ASN1_INTEGER *requireExplicitPolicy;
+ ASN1_INTEGER *inhibitPolicyMapping;
+} POLICY_CONSTRAINTS;
+
typedef struct {
int type;