From b195048bbb27a1aae4aa3938c3b1f79e0a26ae88 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 3 Sep 2010 15:57:14 +0300 Subject: Further simplify rpmcliVerifySignatures() - Since this is a rpmcliFoo() function, we can assume rpmcliInit() is used and the verify disabling bits are set through the common rpmcliQueryFlags set, making qva argument unnecessary. --- rpmqv.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'rpmqv.c') diff --git a/rpmqv.c b/rpmqv.c index 7332a6f17..a728fdcad 100644 --- a/rpmqv.c +++ b/rpmqv.c @@ -413,14 +413,8 @@ int main(int argc, char *argv[]) ec = rpmcliImportPubkeys(ts, (ARGV_const_t) poptGetArgs(optCon)); break; case MODE_CHECKSIG: - { rpmVerifyFlags verifyFlags = - (VERIFY_FILEDIGEST|VERIFY_DIGEST|VERIFY_SIGNATURE); - - verifyFlags &= ~rpmcliQueryFlags; - ka->qva_flags = (rpmQueryFlags) verifyFlags; - ec = rpmcliVerifySignatures(ts, ka, (ARGV_const_t) poptGetArgs(optCon)); + ec = rpmcliVerifySignatures(ts, (ARGV_const_t) poptGetArgs(optCon)); break; - } #endif /* IAM_RPMK */ #if !defined(IAM_RPMQV) -- cgit v1.2.1