Use strncasecmp for hash (string version) comparision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17711 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8e7454cc73
commit
239c8054ae
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void hash_check( int out, const char *path )
|
|||
rb->write( out, ": ", 2 );
|
||||
if( hash( string, filename ) )
|
||||
rb->write( out, "FAILED open or read", 19 );
|
||||
else if( rb->memcmp( line, string, MD5_STRING_LENGTH ) )
|
||||
else if( rb->strncasecmp( line, string, MD5_STRING_LENGTH ) )
|
||||
rb->write( out, "FAILED", 6 );
|
||||
else
|
||||
rb->write( out, "OK", 2 );
|
||||
|
|
Loading…
Reference in a new issue