summaryrefslogtreecommitdiff
path: root/src/app_adbdump.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-09 13:40:14 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-09 16:09:19 +0300
commit705e002bb0ab1a317df73e4efac08ebd25dd4d8c (patch)
tree37b262e1627188df64ea69e74b44df203b85b786 /src/app_adbdump.c
parenta627ab8eb8387ebf5735cf525ae72bfa159aa39a (diff)
downloadapk-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_adbdump.c')
-rw-r--r--src/app_adbdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app_adbdump.c b/src/app_adbdump.c
index c101752..40da2c5 100644
--- a/src/app_adbdump.c
+++ b/src/app_adbdump.c
@@ -7,7 +7,7 @@
struct adb_dump_ctx {
struct adb *db;
- struct adb_trust *trust;
+ struct apk_trust *trust;
char prefix[128], *pfx;
};
@@ -203,7 +203,7 @@ static void dump_adb(struct adb_dump_ctx *ctx)
if (IS_ERR(blk)) fprintf(stdout, "%s# block enumeration error: corrupt data area\n", ctx->prefix);
}
-static int mmap_and_dump_adb(struct adb_trust *trust, int fd)
+static int mmap_and_dump_adb(struct apk_trust *trust, int fd)
{
struct adb db;
struct adb_dump_ctx ctx = {