Openwrt/package/system/mtd/src
John Crispin b48b7a7689 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
2015-03-05 20:25:02 +00:00
..
crc32.c
crc32.h
fis.c
fis.h
imagetag.c package: mtd: move bcm963xx_tag definition into source code 2015-02-27 17:38:25 +00:00
jffs2.c
jffs2.h
Makefile
md5.c
md5.h
mtd.c mtd: fix md5sum error checking 2015-03-05 20:25:02 +00:00
mtd.h
seama.c
seama.h
trx.c