From 354713d2f746c197eed6a1feb4c6af3420af6c15 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 5 Oct 2020 18:52:51 +0300 Subject: rename apk_db_options to apk_ctx, rework logging makes apk_verbosity non-global fixes #10682 --- src/app_convndx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app_convndx.c') diff --git a/src/app_convndx.c b/src/app_convndx.c index 924a1f6..393ca43 100644 --- a/src/app_convndx.c +++ b/src/app_convndx.c @@ -57,7 +57,7 @@ static int load_index(struct conv_ctx *ctx, struct apk_istream *is) if (IS_ERR_OR_NULL(is)) return is ? PTR_ERR(is) : -EINVAL; ctx->found = 0; - apk_sign_ctx_init(&ctx->sctx, APK_SIGN_VERIFY, NULL, ctx->db->keys_fd, ctx->db->flags & APK_ALLOW_UNTRUSTED); + apk_sign_ctx_init(&ctx->sctx, APK_SIGN_VERIFY, NULL, ctx->db->keys_fd, ctx->db->ctx->flags & APK_ALLOW_UNTRUSTED); r = apk_tar_parse( apk_istream_gunzip_mpart(is, apk_sign_ctx_mpart_cb, &ctx->sctx), load_apkindex, ctx, &ctx->db->id_cache); -- cgit v1.2.3-70-g09d2