From 50fed1063e080530c7654ebd168e833af2d98c98 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Thu, 16 Jul 2009 15:32:21 +0300 Subject: pkg: .PKGINFO field for data checksum is 'datahash' in future we might add datahashalg to specify the algorithm used. --- src/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/package.c') 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; -- cgit v1.2.3-60-g2f50