even more formatting
This commit is contained in:
parent
a4c0e7f3fe
commit
1998ef6cc7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue