From 6ce418de8d3f880513ac486542b29eea9969b73f Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 14 Feb 2014 15:34:41 -0800 Subject: Fix the signature of this on 0.9.8 --- cryptography/hazmat/bindings/openssl/evp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptography/hazmat/bindings/openssl/evp.py b/cryptography/hazmat/bindings/openssl/evp.py index 9cd316f9..02776490 100644 --- a/cryptography/hazmat/bindings/openssl/evp.py +++ b/cryptography/hazmat/bindings/openssl/evp.py @@ -149,7 +149,7 @@ int (*PKCS5_PBKDF2_HMAC)(const char *, int, const unsigned char *, int, int, const EVP_MD *, int, unsigned char *) = NULL; const long Cryptography_HAS_PKEY_CTX = 0; typedef void EVP_PKEY_CTX; -int (*EVP_PKEY_CTX_set_signature_md)(EVP_PKEY_CTX *, EVP_MD_CTX *) = NULL; +int (*EVP_PKEY_CTX_set_signature_md)(EVP_PKEY_CTX *, const EVP_MD *) = NULL; int (*EVP_PKEY_sign_init)(EVP_PKEY_CTX *) = NULL; int (*EVP_PKEY_sign)(EVP_PKEY_CTX *, unsigned char *, size_t *, const unsigned char *, size_t) = NULL; -- cgit v1.2.3