diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-05 20:25:02 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-03-05 20:25:02 +0000 |
commit | 8a9f7fdf7da603a32df35ae86732d0604a2db6bc (patch) | |
tree | 42f329a2e1aae454b5bbcaac2a19954550417343 /.gitignore | |
parent | d7a6866ce070851dd0aedbe0c0cac4ed550615c8 (diff) | |
download | master-187ad058-8a9f7fdf7da603a32df35ae86732d0604a2db6bc.tar.gz master-187ad058-8a9f7fdf7da603a32df35ae86732d0604a2db6bc.tar.bz2 master-187ad058-8a9f7fdf7da603a32df35ae86732d0604a2db6bc.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44605 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions