MD5 and SHA1 digests are handled just the same here...
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 12 Mar 2009 09:42:42 +0000 (11:42 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 12 Mar 2009 09:42:42 +0000 (11:42 +0200)
lib/rpmchecksig.c

index b98cb9c..a3df375 100644 (file)
@@ -725,9 +725,6 @@ int rpmVerifySignatures(QVA_t qva, rpmts ts, FD_t fd,
            }
            break;
        case RPMSIGTAG_SHA1:
-           if (nodigests)
-                continue;
-           break;
        case RPMSIGTAG_MD5:
            if (nodigests)
                 continue;