summaryrefslogtreecommitdiff
path: root/src/package.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-16 15:32:21 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-16 15:32:21 +0300
commit50fed1063e080530c7654ebd168e833af2d98c98 (patch)
tree2d4cbf78402f4dce49c22783ee0f4470b07abe26 /src/package.c
parent251656734dc72dd462facd790b4cd6609df3acb4 (diff)
downloadapk-tools-50fed1063e080530c7654ebd168e833af2d98c98.tar.gz
apk-tools-50fed1063e080530c7654ebd168e833af2d98c98.tar.bz2
apk-tools-50fed1063e080530c7654ebd168e833af2d98c98.tar.xz
apk-tools-50fed1063e080530c7654ebd168e833af2d98c98.zip
pkg: .PKGINFO field for data checksum is 'datahash'
in future we might add datahashalg to specify the algorithm used.
Diffstat (limited to 'src/package.c')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index 95c4cc0..c29b501 100644
--- a/src/package.c
+++ b/src/package.c
@@ -337,7 +337,7 @@ static int read_info_line(void *ctx, apk_blob_t line)
}
if (ri->data_started == 0 &&
- apk_blob_compare(APK_BLOB_STR("sha256"), l) == 0)
+ apk_blob_compare(APK_BLOB_STR("datahash"), l) == 0)
ri->has_data_checksum = 1;
return 0;