1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-25 18:52:22 -05:00

even more formatting

This commit is contained in:
berkeviktor@aol.com 2010-10-20 23:29:44 +02:00
parent a4c0e7f3fe
commit 1998ef6cc7

View File

@ -92,14 +92,14 @@ sha256_file (char *path, char outputBuffer[65])
while ((bytesRead = fread (buffer, 1, BUFSIZE, file)))
{
SHA256_Update (&sha256, buffer, bytesRead);
}
}
SHA256_Final (hash, &sha256);
sha256_hash_string (hash, outputBuffer);
SHA256_Final (hash, &sha256);
sha256_hash_string (hash, outputBuffer);
fclose (file);
free (buffer);
return 0;
free (buffer);
return 0;
}
int