diff options
author | jbj <devnull@localhost> | 1999-09-06 20:59:39 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-09-06 20:59:39 +0000 |
commit | d753cdadf734488f5539a53e3898fd3ebc1a4508 (patch) | |
tree | 01ab000ed6d78ab035b2eaaf55199e735e141c30 /rpm.c | |
parent | bc837d1e3f616a7dd2973f25b7ac1d18bfafcb16 (diff) | |
download | rpm-d753cdadf734488f5539a53e3898fd3ebc1a4508.tar.gz rpm-d753cdadf734488f5539a53e3898fd3ebc1a4508.tar.bz2 rpm-d753cdadf734488f5539a53e3898fd3ebc1a4508.zip |
fix: don't successfully match with strncasecmp("sparc", "sparc64", 5)
CVS patchset: 3259
CVS date: 1999/09/06 20:59:39
Diffstat (limited to 'rpm.c')
-rwxr-xr-x | rpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1162,7 +1162,7 @@ int main(int argc, char ** argv) if (!noPgp) checksigFlags |= CHECKSIG_PGP; if (!noGpg) checksigFlags |= CHECKSIG_GPG; if (!noMd5) checksigFlags |= CHECKSIG_MD5; - ec = rpmCheckSig(checksigFlags, poptGetArgs(optCon)); + ec = rpmCheckSig(checksigFlags, (const char **)poptGetArgs(optCon)); /* XXX don't overflow single byte exit status */ if (ec > 255) ec = 255; exit(ec); @@ -1171,7 +1171,7 @@ int main(int argc, char ** argv) case MODE_RESIGN: if (!poptPeekArg(optCon)) argerror(_("no packages given for signing")); - ec = rpmReSign(addSign, passPhrase, poptGetArgs(optCon)); + ec = rpmReSign(addSign, passPhrase, (const char **)poptGetArgs(optCon)); /* XXX don't overflow single byte exit status */ if (ec > 255) ec = 255; exit(ec); |