diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-29 19:16:04 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-29 19:16:04 +0300 |
commit | 7b05eef61f08f0f34266ac3af4ae22fc72dbc269 (patch) | |
tree | 43fe57eeb28cdb6819729d331af36005b33c5ad2 /src/verify.c | |
parent | 2887e04cd7ea8fcc3e0815a11db6899d1c9535bf (diff) | |
download | apk-tools-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.tar.gz apk-tools-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.tar.bz2 apk-tools-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.tar.xz apk-tools-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.zip |
tar: make checksumming of inner files conditional
and force checksumming only when unpacking archive. otherwise
it's extra computation for nothing.
Diffstat (limited to 'src/verify.c')
-rw-r--r-- | src/verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verify.c b/src/verify.c index 05ded17..9aaf8ae 100644 --- a/src/verify.c +++ b/src/verify.c @@ -25,7 +25,7 @@ static int verify_main(void *ctx, int argc, char **argv) apk_sign_ctx_init(&sctx, APK_SIGN_VERIFY, NULL); is = apk_bstream_gunzip_mpart(apk_bstream_from_file(argv[i]), apk_sign_ctx_mpart_cb, &sctx); - r = apk_tar_parse(is, apk_sign_ctx_verify_tar, &sctx); + r = apk_tar_parse(is, apk_sign_ctx_verify_tar, &sctx, FALSE); is->close(is); ok = sctx.control_verified && sctx.data_verified; if (apk_verbosity >= 1) |