diff options
author | Stephen Holsapple <sholsapp@gmail.com> | 2015-06-17 17:58:49 -0700 |
---|---|---|
committer | Stephen Holsapple <sholsapp@gmail.com> | 2015-06-17 17:58:49 -0700 |
commit | 29392552135ca5f3f26a0a90e8d3bcf7e6942aa1 (patch) | |
tree | a5f10444e0b6d6879d623e461e9b4c9922f684ef /src/_cffi_src/openssl | |
parent | b0e8ffac859b20512428321b685346685af2c0c7 (diff) | |
download | cryptography-29392552135ca5f3f26a0a90e8d3bcf7e6942aa1.tar.gz cryptography-29392552135ca5f3f26a0a90e8d3bcf7e6942aa1.tar.bz2 cryptography-29392552135ca5f3f26a0a90e8d3bcf7e6942aa1.zip |
Add additional X509_STORE functions
I'm working on https://github.com/pyca/pyopenssl/issues/256 and can't
seem to get the X509_STORE_CTX objects to be able to find a CRL. I
suspect it is because I'm not adding the CRL to the underlying
X509_STORE object, so I'd like to add them.
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r-- | src/_cffi_src/openssl/x509_vfy.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/x509_vfy.py b/src/_cffi_src/openssl/x509_vfy.py index 02631409..23ac8483 100644 --- a/src/_cffi_src/openssl/x509_vfy.py +++ b/src/_cffi_src/openssl/x509_vfy.py @@ -143,10 +143,14 @@ int X509_verify_cert(X509_STORE_CTX *); /* X509_STORE */ X509_STORE *X509_STORE_new(void); -void X509_STORE_free(X509_STORE *); int X509_STORE_add_cert(X509_STORE *, X509 *); +int X509_STORE_add_crl(X509_STORE *, X509_CRL *); int X509_STORE_load_locations(X509_STORE *, const char *, const char *); +int X509_STORE_set1_param(X509_STORE *, X509_VERIFY_PARAM *); int X509_STORE_set_default_paths(X509_STORE *); +int X509_STORE_set_flags(X509_STORE *, unsigned long); +void X509_STORE_free(X509_STORE *); + /* X509_STORE_CTX */ X509_STORE_CTX *X509_STORE_CTX_new(void); |