Commit 43088ee8 authored by Milan Broz's avatar Milan Broz

Fix unsigned return value.

parent c17b6e7b
......@@ -66,9 +66,9 @@ out:
*/
static int diffuse(char *src, char *dst, size_t size, const char *hash_name)
{
int hash_size = crypt_hash_size(hash_name);
int r, hash_size = crypt_hash_size(hash_name);
unsigned int digest_size;
unsigned int i, r, blocks, padding;
unsigned int i, blocks, padding;
if (hash_size <= 0)
return -EINVAL;
......
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