Sign index-meta

This commit is contained in:
Piotr Wójcik authored and Juan RP committed 2019-11-02 11:53:14 +01:00
1 parent b4e93a95bf
commit 381b7b7600
3 files changed
+33 -13

No files matched your search

+2 -2
View File
@@ -75,9 +75,9 @@ repo_verify_index(struct xbps_repo *repo, unsigned char *digest) {
return false;
}
if (strcmp(archive_entry_pathname(entry), XBPS_REPOIDX_SIG) != 0) {
if (strcmp(archive_entry_pathname(entry), XBPS_REPOIDXMETA_SIG) != 0) {
xbps_dbg_printf(repo->xhp,
"%s: no signature of %s\n", repo->uri, XBPS_REPOIDX);
"%s: no signature of %s\n", repo->uri, XBPS_REPOIDX_META);
return false;
}