make --nopgp work
authorroot <devnull@localhost>
Mon, 8 Jul 1996 03:58:03 +0000 (03:58 +0000)
committerroot <devnull@localhost>
Mon, 8 Jul 1996 03:58:03 +0000 (03:58 +0000)
CVS patchset: 745
CVS date: 1996/07/08 03:58:03

checksig.c

index f029636..30e988f 100644 (file)
@@ -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);