aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-10 21:04:50 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-10 21:04:50 -0400
commit6c8a88f0ab551de58616e0d42934a604c00b2b48 (patch)
treeab9c0d1a863d5cb34cdf40b07af14a64560224be
parentf10cc3866360a0c37f30d726f32333e0bae5eeda (diff)
downloadcryptography-6c8a88f0ab551de58616e0d42934a604c00b2b48.tar.gz
cryptography-6c8a88f0ab551de58616e0d42934a604c00b2b48.tar.bz2
cryptography-6c8a88f0ab551de58616e0d42934a604c00b2b48.zip
EVP_CIPHER_CTX_init is a macro in 1.1.0
-rw-r--r--src/_cffi_src/openssl/evp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/evp.py b/src/_cffi_src/openssl/evp.py
index d3ec568a..a91a9666 100644
--- a/src/_cffi_src/openssl/evp.py
+++ b/src/_cffi_src/openssl/evp.py
@@ -51,7 +51,6 @@ int EVP_CipherUpdate(EVP_CIPHER_CTX *, unsigned char *, int *,
const unsigned char *, int);
int EVP_CipherFinal_ex(EVP_CIPHER_CTX *, unsigned char *, int *);
int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *);
-void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *);
EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *);
int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *, int);
@@ -119,6 +118,9 @@ int Cryptography_EVP_PKEY_id(const EVP_PKEY *);
"""
MACROS = """
+/* became a macro in 1.1.0 */
+void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *);
+
void OpenSSL_add_all_algorithms(void);
int EVP_PKEY_assign_RSA(EVP_PKEY *, RSA *);
int EVP_PKEY_assign_DSA(EVP_PKEY *, DSA *);