summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-08-22 13:54:15 +0200
committerDan McGee <dan@archlinux.org>2008-08-23 08:37:19 -0500
commit901e4aa5c203f605e9d527e474821426a40e5cea (patch)
treebafb4ab31a4bf7ae74a11a27233124e77e48ba06 /lib/libalpm
parent282eeadc68fec1da8651d0c65ad0dfebd11a9c7f (diff)
makepkg: do insensitive comparisons of checksums.
This fixes FS#11283 , which was originally reported on the forums : http://bbs.archlinux.org/viewtopic.php?id=53794 Insensitive comparisons were implicitly made before since md5sum --status was used for checking. Now that we use openssl and compare checksums manually in bash, we lost that feature. This can be easily reintroduced using tr '[A-F]' '[a-f]' What convinced me to fix it is that the md5 command line tool generates md5sums in upper case by default : http://www.fourmilab.ch/md5/ And finally, A-F and a-f are the same in hex and both are used. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions