From 27f7bbd44d178e84e303cb80610be20318f41866 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 30 Jan 2014 19:34:26 +0100 Subject: [PATCH] xbps_verify_file_signature: there's no repo->hexfp anymore, compute it instead. --- lib/verifysig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/verifysig.c b/lib/verifysig.c index 5e02254e..a697098f 100644 --- a/lib/verifysig.c +++ b/lib/verifysig.c @@ -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); 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) { xbps_dbg_printf(repo->xhp, "%s: incomplete signed repo, missing hexfp obj\n", repo->uri); return false;