]> git.sesse.net Git - vlc/commitdiff
gcry_md_read() returns a buffer which hold at least 20 bytes
authorRafaël Carré <funman@videolan.org>
Tue, 22 Jan 2008 18:41:07 +0000 (18:41 +0000)
committerRafaël Carré <funman@videolan.org>
Tue, 22 Jan 2008 18:41:07 +0000 (18:41 +0000)
src/misc/update.c

index 6ed2d54c1c96f7bdc6092700f303547e2433c8c4..9f9f071983d2db251d49a5256c88f572a3f51dd2 100644 (file)
@@ -663,7 +663,6 @@ static uint8_t *hash_sha1_from_file( const char *psz_file,
     fclose( f );
     gcry_md_final( hd );
 
-    /* FIXME: is it always padded to 20 bytes ? */
     return( (uint8_t*) gcry_md_read( hd, GCRY_MD_SHA1) );
 }