diff options
author | jbj <devnull@localhost> | 1999-07-14 16:47:30 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-07-14 16:47:30 +0000 |
commit | 40d76f715b4a71e2c69d185e83177b1c2cef9750 (patch) | |
tree | 3aadd19c436394351fb0601f75980d973a6e974f /rpm.c | |
parent | 4a0755d14fad844a3953b5abaa95bf255d80f0ba (diff) | |
download | rpm-40d76f715b4a71e2c69d185e83177b1c2cef9750.tar.gz rpm-40d76f715b4a71e2c69d185e83177b1c2cef9750.tar.bz2 rpm-40d76f715b4a71e2c69d185e83177b1c2cef9750.zip |
move checksig/resign major modes into rpmlib.
CVS patchset: 3157
CVS date: 1999/07/14 16:47:30
Diffstat (limited to 'rpm.c')
-rwxr-xr-x | rpm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3,7 +3,6 @@ #include "build/rpmbuild.h" #include "build.h" -#include "checksig.h" #include "install.h" #include "lib/signature.h" #include "popt/popt.h" @@ -1161,7 +1160,7 @@ int main(int argc, char ** argv) if (!noPgp) checksigFlags |= CHECKSIG_PGP; if (!noGpg) checksigFlags |= CHECKSIG_GPG; if (!noMd5) checksigFlags |= CHECKSIG_MD5; - ec = doCheckSig(checksigFlags, poptGetArgs(optCon)); + ec = rpmCheckSig(checksigFlags, poptGetArgs(optCon)); /* XXX don't overflow single byte exit status */ if (ec > 255) ec = 255; exit(ec); @@ -1170,7 +1169,7 @@ int main(int argc, char ** argv) case MODE_RESIGN: if (!poptPeekArg(optCon)) argerror(_("no packages given for signing")); - ec = doReSign(addSign, passPhrase, poptGetArgs(optCon)); + ec = rpmReSign(addSign, passPhrase, poptGetArgs(optCon)); /* XXX don't overflow single byte exit status */ if (ec > 255) ec = 255; exit(ec); |