aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-14 15:34:22 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-14 15:34:22 -0600
commite8afc685c21f0eb7888543b453df38c0b76c3234 (patch)
treedbaa5373caef273022eb67986cdc71a6db949b0d
parentb321562312dcaff955847576010d05082c50d0cd (diff)
downloadcryptography-e8afc685c21f0eb7888543b453df38c0b76c3234.tar.gz
cryptography-e8afc685c21f0eb7888543b453df38c0b76c3234.tar.bz2
cryptography-e8afc685c21f0eb7888543b453df38c0b76c3234.zip
when declaring macros it helps to get the arguments right
-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 a883084f..641bcfbf 100644
--- a/cryptography/hazmat/bindings/openssl/evp.py
+++ b/cryptography/hazmat/bindings/openssl/evp.py
@@ -113,7 +113,7 @@ int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *, int, int, void *);
int PKCS5_PBKDF2_HMAC(const char *, int, const unsigned char *, int, int,
const EVP_MD *, int, unsigned char *);
-int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *, EVP_MD_CTX *);
+int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *, const EVP_MD *);
// not macros but must be in this section since they're not available in 0.9.8
EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *, ENGINE *);