summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-29 17:44:46 +0100
committerMatt Caswell <matt@openssl.org>2016-04-29 23:13:58 +0100
commit7cafbb4bd373f024c4900dcaa71aaf626c2ddbae (patch)
tree8d72c244a980735821ba52c0fde37a88d58abe3c /crypto/x509
parent77076dc944f76e821e4eae3a6563b853ce00c0ed (diff)
Fix some X509_STORE macros
Some X509_STORE macros do not work since the type was made opaque. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_lu.c5
1 files changed, 5 insertions, 0 deletions
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,