summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2016-11-22 13:56:51 +0200
committerPanu Matilainen <pmatilai@redhat.com>2016-11-22 13:56:51 +0200
commit7e65ae4276bcc9852522ec7ee96ef16b31b3fb1d (patch)
treef272a54cb0dd498ab03b6d62aaa8c0cf9642d3a8
parent9fde8b597289acd001f54b235e2bfd35262b7f4f (diff)
downloadrpm-7e65ae4276bcc9852522ec7ee96ef16b31b3fb1d.tar.gz
Drop unused argument
-rw-r--r--lib/rpmchecksig.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c
index 61f9dcbb5..020ae69ba 100644
--- a/lib/rpmchecksig.c
+++ b/lib/rpmchecksig.c
@@ -122,8 +122,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,
- rpmDigestBundle plbundle, rpmDigestBundle hdrbundle)
+static int readFile(FD_t fd, const char * fn, rpmDigestBundle hdrbundle)
{
unsigned char buf[4*BUFSIZ];
ssize_t count;
@@ -282,7 +281,7 @@ static int rpmpkgVerifySigs(rpmKeyring keyring, rpmQueryFlags flags,
/* Read the file, generating digest(s) on the fly. */
fdSetBundle(fd, plbundle);
- if (readFile(fd, fn, plbundle, hdrbundle)) {
+ if (readFile(fd, fn, hdrbundle)) {
goto exit;
}