aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-03-13 22:16:47 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2016-03-13 22:16:47 -0400
commitc696e37138656dbd54a41cdcf75584b3d9bc115e (patch)
tree2706f70dc35b1ceacb76dda11f5ccb9d038e155e
parentafb9486483c1677b312b45f0cbfed1901c6ab35f (diff)
parenta49e1136a5bc9a0c38f236b44bb8f726f20ee1a8 (diff)
downloadcryptography-c696e37138656dbd54a41cdcf75584b3d9bc115e.tar.gz
cryptography-c696e37138656dbd54a41cdcf75584b3d9bc115e.tar.bz2
cryptography-c696e37138656dbd54a41cdcf75584b3d9bc115e.zip
Merge pull request #2823 from reaperhulk/110-patch-33
in OpenSSL 1.1.0 these EC functions are no longer const args
-rw-r--r--src/_cffi_src/openssl/ec.py4
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 *);