aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-06 15:30:08 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-06 15:30:08 -0600
commit04f0144c7d8afcbde8881a9358d03b3dbea657a9 (patch)
treec0244f5dc7e3e78e071fb39b5293a2cf3b889bf4
parent4c8bc092a56744f6af9041cb3c4e579731472deb (diff)
parentd8a16937e2e6a7ab4df51ba582286ca287ffaacd (diff)
downloadcryptography-04f0144c7d8afcbde8881a9358d03b3dbea657a9.tar.gz
cryptography-04f0144c7d8afcbde8881a9358d03b3dbea657a9.tar.bz2
cryptography-04f0144c7d8afcbde8881a9358d03b3dbea657a9.zip
Merge pull request #1728 from public/bind-check-pubkey
Add DH_check_pub_key binding
-rw-r--r--src/cryptography/hazmat/bindings/openssl/dh.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/dh.py b/src/cryptography/hazmat/bindings/openssl/dh.py
index 6f556840..b66e7196 100644
--- a/src/cryptography/hazmat/bindings/openssl/dh.py
+++ b/src/cryptography/hazmat/bindings/openssl/dh.py
@@ -31,6 +31,7 @@ void DH_free(DH *);
int DH_size(const DH *);
DH *DH_generate_parameters(int, int, void (*)(int, int, void *), void *);
int DH_check(const DH *, int *);
+int DH_check_pub_key(const DH *, const BIGNUM *, int *);
int DH_generate_key(DH *);
int DH_compute_key(unsigned char *, const BIGNUM *, DH *);
int DH_set_ex_data(DH *, int, void *);