aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-11 13:51:27 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-11 13:51:27 -0600
commit0b58692bcb773d68bc234cc30115c5548ff4340d (patch)
tree83f9cf4c9c446db4a16291f017fe7ec918479af7 /src
parentfca261b97992b6de2b0521b8dfbb96a205f1b376 (diff)
parent13f84a53c441fac2874919116dcb1062e102663a (diff)
downloadcryptography-0b58692bcb773d68bc234cc30115c5548ff4340d.tar.gz
cryptography-0b58692bcb773d68bc234cc30115c5548ff4340d.tar.bz2
cryptography-0b58692bcb773d68bc234cc30115c5548ff4340d.zip
Merge pull request #1516 from exarkun/SSL_CTX_check_private_key
Bind it.
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/ssl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/ssl.py b/src/cryptography/hazmat/bindings/openssl/ssl.py
index 4a94ce03..87c1429c 100644
--- a/src/cryptography/hazmat/bindings/openssl/ssl.py
+++ b/src/cryptography/hazmat/bindings/openssl/ssl.py
@@ -211,6 +211,8 @@ int SSL_CTX_use_certificate_file(SSL_CTX *, const char *, int);
int SSL_CTX_use_certificate_chain_file(SSL_CTX *, const char *);
int SSL_CTX_use_PrivateKey(SSL_CTX *, EVP_PKEY *);
int SSL_CTX_use_PrivateKey_file(SSL_CTX *, const char *, int);
+int SSL_CTX_check_private_key(const SSL_CTX *);
+
void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *);
X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
int SSL_CTX_add_client_CA(SSL_CTX *, X509 *);