diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 13:40:14 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 16:09:19 +0300 |
commit | 705e002bb0ab1a317df73e4efac08ebd25dd4d8c (patch) | |
tree | 37b262e1627188df64ea69e74b44df203b85b786 /src/app_manifest.c | |
parent | a627ab8eb8387ebf5735cf525ae72bfa159aa39a (diff) | |
download | apk-tools-705e002bb0ab1a317df73e4efac08ebd25dd4d8c.tar.gz apk-tools-705e002bb0ab1a317df73e4efac08ebd25dd4d8c.tar.bz2 apk-tools-705e002bb0ab1a317df73e4efac08ebd25dd4d8c.tar.xz apk-tools-705e002bb0ab1a317df73e4efac08ebd25dd4d8c.zip |
rename adb_trust to apk_trust, and use it as package signature keystore too
Diffstat (limited to 'src/app_manifest.c')
-rw-r--r-- | src/app_manifest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_manifest.c b/src/app_manifest.c index 19d02f4..6f32a92 100644 --- a/src/app_manifest.c +++ b/src/app_manifest.c @@ -110,7 +110,7 @@ static void process_file(struct apk_database *db, const char *match) ctx.prefix2 = ": "; } - apk_sign_ctx_init(&sctx, APK_SIGN_VERIFY, NULL, db->keys_fd, db->ctx->flags & APK_ALLOW_UNTRUSTED); + apk_sign_ctx_init(&sctx, APK_SIGN_VERIFY, NULL, apk_ctx_get_trust(db->ctx)); r = apk_tar_parse( apk_istream_gunzip_mpart(apk_istream_from_file(AT_FDCWD, match), apk_sign_ctx_mpart_cb, &sctx), read_file_entry, &ctx, idc); |