Revert the repodata signature stuff.
This commit is contained in:
10
lib/repo.c
10
lib/repo.c
@ -77,15 +77,7 @@ repo_get_dict(struct xbps_repo *repo)
|
||||
archive_error_string(repo->ar));
|
||||
return NULL;
|
||||
}
|
||||
dict = xbps_archive_get_dictionary(repo->ar, entry, &bytes);
|
||||
idxmeta = (repo->idxmeta != NULL) ? repo->idxmeta : dict;
|
||||
if (verified != NULL && bytes != NULL) {
|
||||
digest = xbps_buffer_hash_raw(bytes, strlen(bytes));
|
||||
*verified = repo_verify_index(repo, idxmeta, digest);
|
||||
}
|
||||
free(digest);
|
||||
free(bytes);
|
||||
return dict;
|
||||
return xbps_archive_get_dictionary(repo->ar, entry);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Reference in New Issue
Block a user