提交 311f2785 编写于 作者: V Viktor Dukhovni

Always initialize X509_STORE_CTX get_crl pointer

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 46e64f6e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册