diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-03-12 11:39:29 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-03-12 11:39:29 +0200 |
commit | 8eb80293d7edb3c4276730519b42ae567a7198ff (patch) | |
tree | c39a77183fb28a8e41055743efb1252b45a58ab4 /lib/rpmchecksig.c | |
parent | 12f516842161899cdd9aa7fb5f215f19c7b7dab4 (diff) | |
download | rpm-8eb80293d7edb3c4276730519b42ae567a7198ff.tar.gz rpm-8eb80293d7edb3c4276730519b42ae567a7198ff.tar.bz2 rpm-8eb80293d7edb3c4276730519b42ae567a7198ff.zip |
Rip all handling of broken md5 sums from 1997, rpm 2.x era
- we dont even recognize rpm 2.x packages as rpms...
Diffstat (limited to 'lib/rpmchecksig.c')
-rw-r--r-- | lib/rpmchecksig.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c index 94f026b0a..b98cb9c35 100644 --- a/lib/rpmchecksig.c +++ b/lib/rpmchecksig.c @@ -236,8 +236,6 @@ static int rpmReSign(rpmts ts, QVA_t qva, ARGV_const_t argv) } /* Eliminate broken digest values. */ - xx = headerDel(sigh, RPMSIGTAG_LEMD5_1); - xx = headerDel(sigh, RPMSIGTAG_LEMD5_2); xx = headerDel(sigh, RPMSIGTAG_BADSHA1_1); xx = headerDel(sigh, RPMSIGTAG_BADSHA1_2); @@ -560,8 +558,6 @@ static const char *sigtagname(rpmSigTag sigtag, int upper) case RPMSIGTAG_SHA1: n = (upper ? "SHA1" : "sha1"); break; - case RPMSIGTAG_LEMD5_2: - case RPMSIGTAG_LEMD5_1: case RPMSIGTAG_MD5: n = (upper ? "MD5" : "md5"); break; @@ -732,8 +728,6 @@ int rpmVerifySignatures(QVA_t qva, rpmts ts, FD_t fd, if (nodigests) continue; break; - case RPMSIGTAG_LEMD5_2: - case RPMSIGTAG_LEMD5_1: case RPMSIGTAG_MD5: if (nodigests) continue; |