diff options
author | Richard Levitte <levitte@openssl.org> | 2016-07-20 16:23:34 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-07-25 17:20:58 +0200 |
commit | 0a5fe2eb94ad7085fee59c3908b546af7530c9d3 (patch) | |
tree | 1dc47422873297fd1b57ccb8575f163a5064cc18 /crypto/x509/x509_lcl.h | |
parent | Add getters / setters for the X509_STORE_CTX and X509_STORE functions (diff) | |
download | openssl-0a5fe2eb94ad7085fee59c3908b546af7530c9d3.tar.xz openssl-0a5fe2eb94ad7085fee59c3908b546af7530c9d3.zip |
Add setter and getter for X509_STORE's check_policy
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_lcl.h')
-rw-r--r-- | crypto/x509/x509_lcl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509_lcl.h b/crypto/x509/x509_lcl.h index 340bb60b98..2120b7e6f2 100644 --- a/crypto/x509/x509_lcl.h +++ b/crypto/x509/x509_lcl.h @@ -123,6 +123,8 @@ struct x509_store_st { int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl); /* Check certificate against CRL */ int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); + /* Check policy status of the chain */ + int (*check_policy) (X509_STORE_CTX *ctx); STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm); STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm); int (*cleanup) (X509_STORE_CTX *ctx); |