From 89125cc413de0327f96d8490ae19c37436cdf272 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 23 Nov 2012 13:20:41 +0100 Subject: [PATCH] use correct file pointer when checking the debian release file's sig --- examples/solv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/solv.c b/examples/solv.c index d1857fa..cbe121c 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -1976,7 +1976,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos) if (cinfo->repo_gpgcheck) { filename = solv_dupjoin("dists/", cinfo->name, "/Release.gpg"); - if (!downloadchecksig(cinfo, fp, filename, &sigpool)) + if (!downloadchecksig(cinfo, fpr, filename, &sigpool)) { fclose(fpr); solv_free((char *)filename); -- 2.7.4