aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-20 19:26:58 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-20 19:26:58 -0500
commita7f6c8e8a0c5cae1f29485cc76068c4e2c14b6e0 (patch)
tree08ad08c57afbbaa262e49357295ed541716b8efb
parent22f3b4ebd95e6710b6fca0c6dc10502eda7cb4e3 (diff)
downloadcryptography-a7f6c8e8a0c5cae1f29485cc76068c4e2c14b6e0.tar.gz
cryptography-a7f6c8e8a0c5cae1f29485cc76068c4e2c14b6e0.tar.bz2
cryptography-a7f6c8e8a0c5cae1f29485cc76068c4e2c14b6e0.zip
add BASIC_CONSTRAINTS_free macro
-rw-r--r--src/cryptography/hazmat/bindings/openssl/x509v3.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509v3.py b/src/cryptography/hazmat/bindings/openssl/x509v3.py
index 13bf9a21..28dd7f32 100644
--- a/src/cryptography/hazmat/bindings/openssl/x509v3.py
+++ b/src/cryptography/hazmat/bindings/openssl/x509v3.py
@@ -106,6 +106,9 @@ void *X509V3_EXT_d2i(X509_EXTENSION *);
"""
MACROS = """
+/* This is a macro defined by a call to DECLARE_ASN1_FUNCTIONS in the
+ x509v3.h header. */
+void BASIC_CONSTRAINTS_free(BASIC_CONSTRAINTS *);
void *X509V3_set_ctx_nodb(X509V3_CTX *);
int sk_GENERAL_NAME_num(struct stack_st_GENERAL_NAME *);
int sk_GENERAL_NAME_push(struct stack_st_GENERAL_NAME *, GENERAL_NAME *);