mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 11:10:18 +00:00
even more formatting
This commit is contained in:
@@ -92,14 +92,14 @@ sha256_file (char *path, char outputBuffer[65])
|
|||||||
while ((bytesRead = fread (buffer, 1, BUFSIZE, file)))
|
while ((bytesRead = fread (buffer, 1, BUFSIZE, file)))
|
||||||
{
|
{
|
||||||
SHA256_Update (&sha256, buffer, bytesRead);
|
SHA256_Update (&sha256, buffer, bytesRead);
|
||||||
}
|
}
|
||||||
|
|
||||||
SHA256_Final (hash, &sha256);
|
SHA256_Final (hash, &sha256);
|
||||||
sha256_hash_string (hash, outputBuffer);
|
sha256_hash_string (hash, outputBuffer);
|
||||||
|
|
||||||
fclose (file);
|
fclose (file);
|
||||||
free (buffer);
|
free (buffer);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|||||||
Reference in New Issue
Block a user