Commit 50fed106 authored by Timo Teräs's avatar Timo Teräs

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

in future we might add datahashalg to specify the algorithm used.
parent 25165673
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment