diff options
Diffstat (limited to 'src/app_manifest.c')
-rw-r--r-- | src/app_manifest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/app_manifest.c b/src/app_manifest.c index 6f32a92..86164f6 100644 --- a/src/app_manifest.c +++ b/src/app_manifest.c @@ -83,11 +83,12 @@ static int read_file_entry(void *ctx, const struct apk_file_info *ae, struct apk return 0; memset(csum_buf, '\0', sizeof(csum_buf)); - apk_blob_push_hexdump(&csum_blob, APK_BLOB_CSUM(ae->csum)); + apk_blob_push_hexdump(&csum_blob, APK_DIGEST_BLOB(ae->digest)); - apk_out(out, "%s%s%s:%s %s\n", + apk_out(out, "%s%s%s:%s %s", mctx->prefix1, mctx->prefix2, - csum_types[ae->csum.type], csum_buf, ae->name); + apk_digest_alg_str(ae->digest.alg), csum_buf, + ae->name); return 0; } |