From 29392552135ca5f3f26a0a90e8d3bcf7e6942aa1 Mon Sep 17 00:00:00 2001 From: Stephen Holsapple Date: Wed, 17 Jun 2015 17:58:49 -0700 Subject: 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. --- src/_cffi_src/openssl/x509_vfy.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3