Revert "Verify repodata signature"

This reverts commit a7830cf780.
This commit is contained in:
Juan RP
2020-01-06 14:33:49 +01:00
parent b4fdc39e67
commit d2208f91e0
7 changed files with 32 additions and 121 deletions

View File

@ -56,7 +56,7 @@ xbps_archive_get_file(struct archive *ar, struct archive_entry *entry)
}
xbps_dictionary_t HIDDEN
xbps_archive_get_dictionary(struct archive *ar, struct archive_entry *entry, char **bytes)
xbps_archive_get_dictionary(struct archive *ar, struct archive_entry *entry)
{
xbps_dictionary_t d = NULL;
char *buf;
@ -66,11 +66,7 @@ xbps_archive_get_dictionary(struct archive *ar, struct archive_entry *entry, cha
/* If blob is already a dictionary we are done */
d = xbps_dictionary_internalize(buf);
if (bytes == NULL) {
free(buf);
} else {
*bytes = buf;
}
free(buf);
return d;
}