[openssl-commits] [openssl] master update

Viktor Dukhovni viktor at openssl.org
Thu Jan 14 17:29:25 UTC 2016


The branch master has been updated
       via  311f27852a18fb9c10f0c1283b639f12eea06de2 (commit)
      from  46e64f6eb9665d59945879c14fd020a01ab625af (commit)


- Log -----------------------------------------------------------------
commit 311f27852a18fb9c10f0c1283b639f12eea06de2
Author: Viktor Dukhovni <openssl-users at dukhovni.org>
Date:   Thu Jan 14 12:23:35 2016 -0500

    Always initialize X509_STORE_CTX get_crl pointer
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/x509/x509_vfy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index 73339f3..c395acc 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;


More information about the openssl-commits mailing list