diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-10-18 14:42:27 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-10-18 14:42:27 +0000 |
commit | c679fb298ea8a94764a594d07b97823c4615ea4e (patch) | |
tree | f3b6d23ff241108c6690de30a6495b1d1014937e /crypto/x509/x509_vfy.h | |
parent | 17c7cad5458758a2b1a574718bf9e1f58a00a0c2 (diff) |
Add new function X509_STORE_set_verify_cb and use it in apps
Diffstat (limited to 'crypto/x509/x509_vfy.h')
-rw-r--r-- | crypto/x509/x509_vfy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h index 4e73806adc..acb713a6e5 100644 --- a/crypto/x509/x509_vfy.h +++ b/crypto/x509/x509_vfy.h @@ -419,6 +419,9 @@ int X509_STORE_set_purpose(X509_STORE *ctx, int purpose); int X509_STORE_set_trust(X509_STORE *ctx, int trust); int X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *pm); +void X509_STORE_set_verify_cb(X509_STORE *ctx, + int (*verify_cb)(int, X509_STORE_CTX *)); + X509_STORE_CTX *X509_STORE_CTX_new(void); int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); |