From bf96bf9d71f432f2db75b0c62b49098235d75661 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 19 Oct 2013 11:19:04 -0700 Subject: Move these to macros, the exact type of these functions changes by deifne --- cryptography/bindings/openssl/pkcs12.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cryptography/bindings/openssl/pkcs12.py b/cryptography/bindings/openssl/pkcs12.py index 92e3b12f..5c002b93 100644 --- a/cryptography/bindings/openssl/pkcs12.py +++ b/cryptography/bindings/openssl/pkcs12.py @@ -20,10 +20,6 @@ typedef ... PKCS12; """ FUNCTIONS = """ -int PKCS12_parse(PKCS12 *, const char *, EVP_PKEY **, X509 **, - struct stack_st_X509 **); -PKCS12 *PKCS12_create(char *, char *, EVP_PKEY *, X509 *, - struct stack_st_X509 *, int, int, int, int, int); void PKCS12_free(PKCS12 *); PKCS12 *d2i_PKCS12_bio(BIO *, PKCS12 **); @@ -31,4 +27,8 @@ int i2d_PKCS12_bio(BIO *, PKCS12 *); """ MACROS = """ +int PKCS12_parse(PKCS12 *, const char *, EVP_PKEY **, X509 **, + struct stack_st_X509 **); +PKCS12 *PKCS12_create(char *, char *, EVP_PKEY *, X509 *, + struct stack_st_X509 *, int, int, int, int, int); """ -- cgit v1.2.3