Commit da932222 authored by Rafaël Carré's avatar Rafaël Carré

gcry_md_read() returns a buffer which hold at least 20 bytes

parent 6cd172a4
......@@ -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) );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment