From 0a5fe2eb94ad7085fee59c3908b546af7530c9d3 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 20 Jul 2016 16:23:34 +0200 Subject: Add setter and getter for X509_STORE's check_policy Reviewed-by: Rich Salz --- include/openssl/x509_vfy.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/openssl/x509_vfy.h b/include/openssl/x509_vfy.h index 13ec740b42..dc72652475 100644 --- a/include/openssl/x509_vfy.h +++ b/include/openssl/x509_vfy.h @@ -293,6 +293,9 @@ X509_STORE_CTX_check_crl_fn X509_STORE_get_check_crl(X509_STORE *ctx); void X509_STORE_set_cert_crl(X509_STORE *ctx, X509_STORE_CTX_cert_crl_fn cert_crl); X509_STORE_CTX_cert_crl_fn X509_STORE_get_cert_crl(X509_STORE *ctx); +void X509_STORE_set_check_policy(X509_STORE *ctx, + X509_STORE_CTX_check_policy_fn check_policy); +X509_STORE_CTX_check_policy_fn X509_STORE_get_check_policy(X509_STORE *ctx); void X509_STORE_set_lookup_certs(X509_STORE *ctx, X509_STORE_CTX_lookup_certs_fn lookup_certs); X509_STORE_CTX_lookup_certs_fn X509_STORE_get_lookup_certs(X509_STORE *ctx); -- cgit v1.2.3