diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-03 08:17:57 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-03 10:50:37 +0300 |
commit | a68bcb383e6b8601a7e4ab8ae67407e59eee0f95 (patch) | |
tree | 50ab12d0f4da8f2e94201a554135df88deae52af /rpmqv.c | |
parent | 61432eb77184d9a2dc6da828a18f6d8f33f95812 (diff) | |
download | librpm-tizen-a68bcb383e6b8601a7e4ab8ae67407e59eee0f95.tar.gz librpm-tizen-a68bcb383e6b8601a7e4ab8ae67407e59eee0f95.tar.bz2 librpm-tizen-a68bcb383e6b8601a7e4ab8ae67407e59eee0f95.zip |
Use the common rpmcliQueryFlags for signature verify options in rpm cli too
- Technically this changes the rpmcliQuery() and rpmcliVerify() API
in the sense that we no longer honor the qva->qva_flags for the
--nosignature and others, but we assume anybody using these (as if
anybody was using the "cli" API) uses rpmcliInit() which takes
care of these common bits... shrug.
- Ditch ancient and hidden --nopgp --nogpg switches along with the
dishwater which are simply alias to --nosignature.
- Eliminate now unused qva_flags from rpmInstallArguments (along with
a double vsflags goo from rpmgraph)
Diffstat (limited to 'rpmqv.c')
-rw-r--r-- | rpmqv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -486,7 +486,7 @@ int main(int argc, char *argv[]) { rpmVerifyFlags verifyFlags = (VERIFY_FILEDIGEST|VERIFY_DIGEST|VERIFY_SIGNATURE); - verifyFlags &= ~ka->qva_flags; + verifyFlags &= ~rpmcliQueryFlags; ka->qva_flags = (rpmQueryFlags) verifyFlags; } case MODE_RESIGN: |