openwrtv4/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 mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
jffs2.h
Makefile bcm53xx: add fixtrx 2014-09-21 21:56:31 +00:00
md5.c
md5.h
mtd.c mtd: fix md5sum error checking 2015-03-05 20:25:02 +00:00
mtd.h mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
seama.c
seama.h
trx.c mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403 2014-09-02 21:06:35 +00:00