diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-13 20:49:46 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-13 20:49:46 -0400 |
commit | a49e1136a5bc9a0c38f236b44bb8f726f20ee1a8 (patch) | |
tree | b9fbd1833d17e9a3be7eca11191e85636f8a8913 /src | |
parent | 76252fca16dccc2add21c985d4d9d883ed55f1c9 (diff) | |
download | cryptography-a49e1136a5bc9a0c38f236b44bb8f726f20ee1a8.tar.gz cryptography-a49e1136a5bc9a0c38f236b44bb8f726f20ee1a8.tar.bz2 cryptography-a49e1136a5bc9a0c38f236b44bb8f726f20ee1a8.zip |
in OpenSSL 1.1.0 these EC functions are no longer const args
Fixes a warning
Diffstat (limited to 'src')
-rw-r--r-- | src/_cffi_src/openssl/ec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_cffi_src/openssl/ec.py b/src/_cffi_src/openssl/ec.py index f5cbf968..dab1635a 100644 --- a/src/_cffi_src/openssl/ec.py +++ b/src/_cffi_src/openssl/ec.py @@ -76,8 +76,8 @@ int EC_KEY_get_flags(const EC_KEY *); void EC_KEY_set_flags(EC_KEY *, int); void EC_KEY_clear_flags(EC_KEY *, int); EC_KEY *EC_KEY_new_by_curve_name(int); -EC_KEY *EC_KEY_copy(EC_KEY *, const EC_KEY *); -EC_KEY *EC_KEY_dup(const EC_KEY *); +EC_KEY *EC_KEY_copy(EC_KEY *, EC_KEY *); +EC_KEY *EC_KEY_dup(EC_KEY *); int EC_KEY_up_ref(EC_KEY *); const EC_GROUP *EC_KEY_get0_group(const EC_KEY *); int EC_GROUP_get_order(const EC_GROUP *, BIGNUM *, BN_CTX *); |