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

@@ -197,7 +197,7 @@ repo_list_uri(struct xbps_repo *repo)
xbps_dictionary_get_uint16(repo->idxmeta, "public-key-size", &pubkeysize);
pubkey = xbps_dictionary_get(repo->idxmeta, "public-key");
if (pubkey)
hexfp = xbps_pubkey2fp(repo->xhp, pubkey);
hexfp = xbps_pubkey2fp(pubkey);
if (signedby)
printf(" Signed-by: %s\n", signedby);
if (pubkeysize && hexfp)