diff options
author | jbj <devnull@localhost> | 2001-10-23 20:52:51 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-23 20:52:51 +0000 |
commit | 72f92dd7448cfb1394a40a0fc5c302cdd31753f8 (patch) | |
tree | bfbe463977c2752518c423b278af7d4d0e823ccd /rpmqv.c | |
parent | 3b820b2d5354fffc824218ee3750a1a9435f0a8e (diff) | |
download | librpm-tizen-72f92dd7448cfb1394a40a0fc5c302cdd31753f8.tar.gz librpm-tizen-72f92dd7448cfb1394a40a0fc5c302cdd31753f8.tar.bz2 librpm-tizen-72f92dd7448cfb1394a40a0fc5c302cdd31753f8.zip |
- wire transactions through rpmcli signature modes.
CVS patchset: 5131
CVS date: 2001/10/23 20:52:51
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-x | rpmqv.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -1149,18 +1149,11 @@ int main(int argc, const char ** argv) #ifdef IAM_RPMK case MODE_CHECKSIG: - if (!poptPeekArg(optCon)) - argerror(_("no packages given for signature check")); - ec = rpmCheckSig(ka, (const char **)poptGetArgs(optCon)); - /* XXX don't overflow single byte exit status */ - if (ec > 255) ec = 255; - break; - case MODE_RESIGN: if (!poptPeekArg(optCon)) - argerror(_("no packages given for signing")); + argerror(_("no arguments given")); ka->passPhrase = passPhrase; - ec = rpmReSign(ka, (const char **)poptGetArgs(optCon)); + ec = rpmcliSign(ka, (const char **)poptGetArgs(optCon)); /* XXX don't overflow single byte exit status */ if (ec > 255) ec = 255; break; |