xbps_verify_file_signature: there's no repo->hexfp anymore, compute it instead.
This commit is contained in:
parent
ea26fb3d3f
commit
27f7bbd44d
@ -92,7 +92,8 @@ xbps_verify_file_signature(struct xbps_repo *repo, const char *fname)
|
|||||||
xbps_dbg_printf(repo->xhp, "%s: unsigned repository\n", repo->uri);
|
xbps_dbg_printf(repo->xhp, "%s: unsigned repository\n", repo->uri);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
xbps_dictionary_get_cstring_nocopy(repo->idxmeta, "hexfp", &hexfp);
|
hexfp = xbps_pubkey2fp(repo->xhp,
|
||||||
|
xbps_dictionary_get(repo->idxmeta, "public-key"));
|
||||||
if (hexfp == NULL) {
|
if (hexfp == NULL) {
|
||||||
xbps_dbg_printf(repo->xhp, "%s: incomplete signed repo, missing hexfp obj\n", repo->uri);
|
xbps_dbg_printf(repo->xhp, "%s: incomplete signed repo, missing hexfp obj\n", repo->uri);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user