aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-02-14 15:34:41 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-02-14 15:34:41 -0800
commit6ce418de8d3f880513ac486542b29eea9969b73f (patch)
treef941f651196a3d45958565b294615f04c78b04ca
parent37acfbb14adffe5b012d95e6a6dfe9979b3ef2f8 (diff)
downloadcryptography-6ce418de8d3f880513ac486542b29eea9969b73f.tar.gz
cryptography-6ce418de8d3f880513ac486542b29eea9969b73f.tar.bz2
cryptography-6ce418de8d3f880513ac486542b29eea9969b73f.zip
Fix the signature of this on 0.9.8
-rw-r--r--cryptography/hazmat/bindings/openssl/evp.py2
1 files changed, 1 insertions, 1 deletions
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;