From 2d6ea66a5ef078ec000dee05ba855ee5e22fbd6c Mon Sep 17 00:00:00 2001 From: ashfall Date: Thu, 1 May 2014 09:59:33 -0700 Subject: Address review comments, fix signatures that the docs lied about --- cryptography/hazmat/bindings/openssl/dh.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cryptography/hazmat/bindings/openssl/dh.py b/cryptography/hazmat/bindings/openssl/dh.py index d1cfaa46..ea965f1f 100644 --- a/cryptography/hazmat/bindings/openssl/dh.py +++ b/cryptography/hazmat/bindings/openssl/dh.py @@ -38,9 +38,9 @@ int DH_size(const DH *); DH *DH_generate_parameters(int, int, void (*)(int, int, void *), void *); int DH_check(const DH *, int *); int DH_generate_key(DH *); -int DH_compute_key(unsigned char *, BIGNUM *, DH *); -int DH_set_ex_data(DH *, int, char *); -char *DH_get_ex_data(DH *, int); +int DH_compute_key(unsigned char *, const BIGNUM *, DH *); +int DH_set_ex_data(DH *, int, void *); +void *DH_get_ex_data(DH *, int); DH *d2iDHparams(DH **, unsigned char **, long); int i2d_DHparams(const DH *, unsigned char **); int DHparams_print_fp(FILE *, const DH *); -- cgit v1.2.3