aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mxs
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-05 20:25:02 +0000
committerJohn Crispin <john@openwrt.org>2015-03-05 20:25:02 +0000
commitb48b7a7689b15754938c77449d59c16fc3765b1f (patch)
tree65f8a1e1567d8d2c74a2e33df91bac12fc1d98c4 /package/boot/uboot-mxs
parentf1625b116f3fd5ff597af88e1719e6492a938d97 (diff)
downloadupstream-b48b7a7689b15754938c77449d59c16fc3765b1f.tar.gz
upstream-b48b7a7689b15754938c77449d59c16fc3765b1f.tar.bz2
upstream-b48b7a7689b15754938c77449d59c16fc3765b1f.zip
mtd: fix md5sum error checking
In mtd_verify(), the return value of md5sum() has been interpreted as error if nonzero, while the function returns number of processed bytes, which caused mtd_verify() to always fail. This patch fixes error checking to interpret only negative values as errors. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com> SVN-Revision: 44605
Diffstat (limited to 'package/boot/uboot-mxs')
0 files changed, 0 insertions, 0 deletions