lib: remove xhp argument from xbps_pubkey2fp

This commit is contained in:
Duncan Overbruck
2022-12-24 14:07:10 +01:00
parent 9efba6749f
commit d962eaaf3c
5 changed files with 9 additions and 7 deletions

View File

@@ -87,8 +87,7 @@ xbps_verify_signature(struct xbps_repo *repo, const char *sigfile,
xbps_dbg_printf("%s: unsigned repository\n", repo->uri);
return false;
}
hexfp = xbps_pubkey2fp(repo->xhp,
xbps_dictionary_get(repo->idxmeta, "public-key"));
hexfp = xbps_pubkey2fp(xbps_dictionary_get(repo->idxmeta, "public-key"));
if (hexfp == NULL) {
xbps_dbg_printf("%s: incomplete signed repo, missing hexfp obj\n", repo->uri);
return false;