Fix deref after null
ctx may be NULL at 178 line
CLA: trivial
@@ -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);
