pkg: .PKGINFO field for data checksum is 'datahash'

in future we might add datahashalg to specify the algorithm used.
cute-signatures
Timo Teras 2009-07-16 15:32:21 +03:00
parent 251656734d
commit 50fed1063e
1 changed files with 1 additions and 1 deletions

View File

@ -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;