diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-14 17:53:08 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-14 17:53:08 -0600 |
commit | 386801f47e9a36660c7a5cfc5ac7a30aa69c9001 (patch) | |
tree | f941f651196a3d45958565b294615f04c78b04ca | |
parent | 37acfbb14adffe5b012d95e6a6dfe9979b3ef2f8 (diff) | |
parent | 6ce418de8d3f880513ac486542b29eea9969b73f (diff) | |
download | cryptography-386801f47e9a36660c7a5cfc5ac7a30aa69c9001.tar.gz cryptography-386801f47e9a36660c7a5cfc5ac7a30aa69c9001.tar.bz2 cryptography-386801f47e9a36660c7a5cfc5ac7a30aa69c9001.zip |
Merge pull request #617 from alex/fix-sig
Fix the signature of this on 0.9.8
-rw-r--r-- | cryptography/hazmat/bindings/openssl/evp.py | 2 |
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; |