summaryrefslogtreecommitdiffstats
path: root/crypto/ct
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-09-18 06:52:13 +1000
committerPauli <paul.dale@oracle.com>2017-09-18 06:52:13 +1000
commit9be34ee5c8576539a929d5b396ad071aed525f43 (patch)
tree426fd9def7d82693dd420e6ca64a061a4278e6ef /crypto/ct
parent3edabd3ccb7aac89af5a63cfb2378e33a8be05d7 (diff)
Null pointer used.
Address coverity report of null pointer being dereferenced. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4381)
Diffstat (limited to 'crypto/ct')
-rw-r--r--crypto/ct/ct_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c
index ec6fa384d5..d442322e26 100644
--- a/crypto/ct/ct_log.c
+++ b/crypto/ct/ct_log.c
@@ -199,7 +199,7 @@ int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file)
CTLOG_STORE_LOAD_CTX* load_ctx = ctlog_store_load_ctx_new();
if (load_ctx == NULL)
- goto end;
+ return 0;
load_ctx->log_store = store;
load_ctx->conf = NCONF_new(NULL);
if (load_ctx->conf == NULL)