aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVladimir Didenko <cow@altlinux.org>2014-11-27 19:13:21 +0300
committerVladimir Didenko <cow@altlinux.org>2014-11-27 19:13:21 +0300
commit8cea74116bac1ad913c63eb55297af300cef6b91 (patch)
tree23fcbccba50a38693b8af68f72552770bd69b6ff /src
parenta28874863a2cc76045e5526ae2b701b9e7733d02 (diff)
downloadcryptography-8cea74116bac1ad913c63eb55297af300cef6b91.tar.gz
cryptography-8cea74116bac1ad913c63eb55297af300cef6b91.tar.bz2
cryptography-8cea74116bac1ad913c63eb55297af300cef6b91.zip
Export X509_STORE_load_locations and X509_STORE_set_default_paths functions. They are necessary if you want to verify certificates offline.
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/x509_vfy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509_vfy.py b/src/cryptography/hazmat/bindings/openssl/x509_vfy.py
index 5b310230..ed1ec58f 100644
--- a/src/cryptography/hazmat/bindings/openssl/x509_vfy.py
+++ b/src/cryptography/hazmat/bindings/openssl/x509_vfy.py
@@ -131,6 +131,8 @@ int X509_verify_cert(X509_STORE_CTX *);
X509_STORE *X509_STORE_new(void);
void X509_STORE_free(X509_STORE *);
int X509_STORE_add_cert(X509_STORE *, X509 *);
+int X509_STORE_load_locations (X509_STORE *, const char *, const char *);
+int X509_STORE_set_default_paths(X509_STORE *);
/* X509_STORE_CTX */
X509_STORE_CTX *X509_STORE_CTX_new(void);