diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-11-19 22:02:19 +0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-11-19 09:02:19 -0500 |
commit | df203db3ab478a1262f9465d251b26ee42766e27 (patch) | |
tree | a626484c9908011177711da5c2aef112cd23afbc /src | |
parent | e07ac94c7d8c41286ccd171e6c7bffb2e0154bcd (diff) | |
download | cryptography-df203db3ab478a1262f9465d251b26ee42766e27.tar.gz cryptography-df203db3ab478a1262f9465d251b26ee42766e27.tar.bz2 cryptography-df203db3ab478a1262f9465d251b26ee42766e27.zip |
bind GENERAL_NAME_free and move GENERAL_NAME_new to macros... (#3257)
where it belongs!
Diffstat (limited to '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 427d380a..f8d5374d 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); -GENERAL_NAME *GENERAL_NAME_new(void); int GENERAL_NAME_print(BIO *, GENERAL_NAME *); GENERAL_NAMES *GENERAL_NAMES_new(void); void GENERAL_NAMES_free(GENERAL_NAMES *); @@ -290,6 +289,8 @@ void DIST_POINT_free(DIST_POINT *); DIST_POINT_NAME *DIST_POINT_NAME_new(void); void DIST_POINT_NAME_free(DIST_POINT_NAME *); +GENERAL_NAME *GENERAL_NAME_new(void); +void GENERAL_NAME_free(GENERAL_NAME *); """ CUSTOMIZATIONS = """ |