cosmetics
This commit is contained in:
parent
e3d44f8829
commit
c89c81f60f
1 changed files with 4 additions and 4 deletions
|
@ -68,7 +68,7 @@ sha256 (char *string, char outputBuffer[65])
|
||||||
SHA256_CTX sha256;
|
SHA256_CTX sha256;
|
||||||
|
|
||||||
SHA256_Init (&sha256);
|
SHA256_Init (&sha256);
|
||||||
SHA256_Update (&sha256, string, strlen(string));
|
SHA256_Update (&sha256, string, strlen (string));
|
||||||
SHA256_Final (hash, &sha256);
|
SHA256_Final (hash, &sha256);
|
||||||
|
|
||||||
for (i = 0; i < SHA256_DIGEST_LENGTH; i++)
|
for (i = 0; i < SHA256_DIGEST_LENGTH; i++)
|
||||||
|
@ -301,13 +301,13 @@ dccoffer_cb (char *word[], void *userdata)
|
||||||
static void
|
static void
|
||||||
checksum (char *userdata[])
|
checksum (char *userdata[])
|
||||||
{
|
{
|
||||||
if (!stricmp("GET", userdata[2]))
|
if (!stricmp ("GET", userdata[2]))
|
||||||
{
|
{
|
||||||
print_size ();
|
print_size ();
|
||||||
} else if (!stricmp("INC", userdata[2]))
|
} else if (!stricmp ("INC", userdata[2]))
|
||||||
{
|
{
|
||||||
increase_max_hash_size ();
|
increase_max_hash_size ();
|
||||||
} else if (!stricmp("DEC", userdata[2]))
|
} else if (!stricmp ("DEC", userdata[2]))
|
||||||
{
|
{
|
||||||
decrease_max_hash_size ();
|
decrease_max_hash_size ();
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Add table
Reference in a new issue