aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashfall <ashwini.oruganti@gmail.com>2014-05-01 09:59:33 -0700
committerashfall <ashwini.oruganti@gmail.com>2014-05-01 09:59:33 -0700
commit2d6ea66a5ef078ec000dee05ba855ee5e22fbd6c (patch)
treeafedd793b3ecc2037fe36063c44ed18fd20dee43
parent010bce285235da6fb0653b2b31ea3fabf34f1da4 (diff)
downloadcryptography-2d6ea66a5ef078ec000dee05ba855ee5e22fbd6c.tar.gz
cryptography-2d6ea66a5ef078ec000dee05ba855ee5e22fbd6c.tar.bz2
cryptography-2d6ea66a5ef078ec000dee05ba855ee5e22fbd6c.zip
Address review comments, fix signatures that the docs lied about
-rw-r--r--cryptography/hazmat/bindings/openssl/dh.py6
1 files 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 *);