summaryrefslogtreecommitdiffstats
path: root/providers/implementations/storemgmt/file_store.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/storemgmt/file_store.c')
-rw-r--r--providers/implementations/storemgmt/file_store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/storemgmt/file_store.c b/providers/implementations/storemgmt/file_store.c
index 34cb70fdf8..fef2b1d290 100644
--- a/providers/implementations/storemgmt/file_store.c
+++ b/providers/implementations/storemgmt/file_store.c
@@ -175,7 +175,7 @@ static void *file_open_dir(const char *path, const char *uri, void *provctx)
if ((ctx = new_file_ctx(IS_DIR, uri, provctx)) == NULL) {
ERR_raise(ERR_LIB_PROV, ERR_R_MALLOC_FAILURE);
- goto err;
+ return NULL;
}
ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, path);