From: root Date: Mon, 8 Jul 1996 03:58:03 +0000 (+0000) Subject: make --nopgp work X-Git-Tag: rpm-4.4-release~4990 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08370243546bae623966a927eafc9f2746b58d81;p=platform%2Fupstream%2Frpm.git make --nopgp work CVS patchset: 745 CVS date: 1996/07/08 03:58:03 --- diff --git a/checksig.c b/checksig.c index f029636..30e988f 100644 --- a/checksig.c +++ b/checksig.c @@ -198,6 +198,9 @@ int doCheckSig(int pgp, char **argv) sprintf(buffer, "%s: ", rpm); } while (nextIterator(sigIter, &tag, &type, &ptr, &count)) { + if ((tag == SIGTAG_PGP) && !pgp) { + continue; + } if (verifySignature(sigtarget, tag, ptr, count, result)) { if (isVerbose()) { strcat(buffer, result);