Skip to content
Snippets Groups Projects
user avatar
John Crispin authored
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: default avatarZefir Kurtisi <zefir.kurtisi@neratec.com>

SVN-Revision: 44605
b48b7a76
History