diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-14 12:23:35 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-14 12:29:16 -0500 |
commit | 311f27852a18fb9c10f0c1283b639f12eea06de2 (patch) | |
tree | e1fd2ca961db6a43f23747e41d500bfd8ccb0367 | |
parent | 46e64f6eb9665d59945879c14fd020a01ab625af (diff) |
Always initialize X509_STORE_CTX get_crl pointer
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r-- | crypto/x509/x509_vfy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 73339f3fd4..c395acc012 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -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; |