diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-06-30 06:14:41 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-06-30 07:14:41 -0400 |
commit | 30d908cb98bc32dd45c7cdd3030a8bb548ad6840 (patch) | |
tree | ebec17af46553a823ab36ea58066047ccd66e630 /src/_cffi_src | |
parent | 06a03f7edfae54db985a7612e7f8825f5e87c416 (diff) | |
download | cryptography-30d908cb98bc32dd45c7cdd3030a8bb548ad6840.tar.gz cryptography-30d908cb98bc32dd45c7cdd3030a8bb548ad6840.tar.bz2 cryptography-30d908cb98bc32dd45c7cdd3030a8bb548ad6840.zip |
change X509V3_EXT_nconf function signature (#3024)
Diffstat (limited to 'src/_cffi_src')
-rw-r--r-- | src/_cffi_src/openssl/x509v3.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/x509v3.py b/src/_cffi_src/openssl/x509v3.py index 89becc0b..427d380a 100644 --- a/src/_cffi_src/openssl/x509v3.py +++ b/src/_cffi_src/openssl/x509v3.py @@ -176,7 +176,6 @@ typedef struct { FUNCTIONS = """ int X509V3_EXT_add_alias(int, int); void X509V3_set_ctx(X509V3_CTX *, X509 *, X509 *, X509_REQ *, X509_CRL *, int); -X509_EXTENSION *X509V3_EXT_nconf(CONF *, X509V3_CTX *, char *, char *); GENERAL_NAME *GENERAL_NAME_new(void); int GENERAL_NAME_print(BIO *, GENERAL_NAME *); GENERAL_NAMES *GENERAL_NAMES_new(void); @@ -185,6 +184,8 @@ void *X509V3_EXT_d2i(X509_EXTENSION *); """ MACROS = """ +/* The last two char * args became const char * in 1.1.0 */ +X509_EXTENSION *X509V3_EXT_nconf(CONF *, X509V3_CTX *, char *, char *); /* This is a macro defined by a call to DECLARE_ASN1_FUNCTIONS in the x509v3.h header. */ BASIC_CONSTRAINTS *BASIC_CONSTRAINTS_new(void); |