diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-03 15:57:14 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-03 15:57:14 +0300 |
commit | b195048bbb27a1aae4aa3938c3b1f79e0a26ae88 (patch) | |
tree | 6f08bed777dcb057460179ec490a46f9cfbbaa19 /rpmqv.c | |
parent | 5b717266644f939aaa7ec2be7b2a6673df5556dc (diff) | |
download | librpm-tizen-b195048bbb27a1aae4aa3938c3b1f79e0a26ae88.tar.gz librpm-tizen-b195048bbb27a1aae4aa3938c3b1f79e0a26ae88.tar.bz2 librpm-tizen-b195048bbb27a1aae4aa3938c3b1f79e0a26ae88.zip |
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.
Diffstat (limited to 'rpmqv.c')
-rw-r--r-- | rpmqv.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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) |