From 6ddbb4cd92ad8c9ebf874e5d9920c122696b7477 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 17 May 2016 16:06:09 -0400 Subject: X509_STORE_CTX accessors. Add some functions that were missing when a number of X509 objects became opaque (thanks, Roumen!) Reviewed-by: Richard Levitte --- crypto/x509/x509_vfy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/x509/x509_vfy.c') diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index fe0ea98826..866aa3992e 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -2172,12 +2172,12 @@ int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, if (store && store->lookup_certs) ctx->lookup_certs = store->lookup_certs; else - ctx->lookup_certs = X509_STORE_get1_certs; + ctx->lookup_certs = X509_STORE_CTX_get1_certs; if (store && store->lookup_crls) ctx->lookup_crls = store->lookup_crls; else - ctx->lookup_crls = X509_STORE_get1_crls; + ctx->lookup_crls = X509_STORE_CTX_get1_crls; ctx->check_policy = check_policy; -- cgit v1.2.3