From 08370243546bae623966a927eafc9f2746b58d81 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 8 Jul 1996 03:58:03 +0000 Subject: [PATCH] make --nopgp work CVS patchset: 745 CVS date: 1996/07/08 03:58:03 --- checksig.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.7.4