From 7cafbb4bd373f024c4900dcaa71aaf626c2ddbae Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 29 Apr 2016 17:44:46 +0100 Subject: Fix some X509_STORE macros Some X509_STORE macros do not work since the type was made opaque. Reviewed-by: Viktor Dukhovni --- crypto/x509/x509_lu.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/x509') diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c index b77a79682d..c4ca619d8c 100644 --- a/crypto/x509/x509_lu.c +++ b/crypto/x509/x509_lu.c @@ -750,6 +750,11 @@ void X509_STORE_set_verify_cb(X509_STORE *ctx, ctx->verify_cb = verify_cb; } +void X509_STORE_set_verify(X509_STORE *ctx, X509_STORE_CTX_verify verify) +{ + ctx->verify = verify; +} + void X509_STORE_set_lookup_crls_cb(X509_STORE *ctx, STACK_OF(X509_CRL) *(*cb) (X509_STORE_CTX *ctx, -- cgit v1.2.3