summaryrefslogtreecommitdiff
path: root/lib/rpmchecksig.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmchecksig.c')
-rw-r--r--lib/rpmchecksig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c
index 5829c6d09..44f27f36e 100644
--- a/lib/rpmchecksig.c
+++ b/lib/rpmchecksig.c
@@ -105,7 +105,7 @@ int rpmcliImportPubkeys(rpmts ts, ARGV_const_t argv)
/**
* @todo If the GPG key was known available, the md5 digest could be skipped.
*/
-static int readFile(FD_t fd, const char * fn, pgpDig dig,
+static int readFile(FD_t fd, const char * fn,
rpmDigestBundle plbundle, rpmDigestBundle hdrbundle)
{
unsigned char buf[4*BUFSIZ];
@@ -337,7 +337,7 @@ static int rpmpkgVerifySigs(rpmKeyring keyring, rpmQueryFlags flags,
/* Read the file, generating digest(s) on the fly. */
fdSetBundle(fd, plbundle);
- if (readFile(fd, fn, dig, plbundle, hdrbundle)) {
+ if (readFile(fd, fn, plbundle, hdrbundle)) {
goto exit;
}