Commit 311f2785 authored by Viktor Dukhovni's avatar Viktor Dukhovni
Browse files

Always initialize X509_STORE_CTX get_crl pointer



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 46e64f6e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2150,6 +2150,8 @@ int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,

    if (store && store->get_crl)
        ctx->get_crl = store->get_crl;
    else
        ctx->get_crl = NULL;

    if (store && store->check_crl)
        ctx->check_crl = store->check_crl;