Fix compiler warnings in Sha1.c.
These warnings are false positives emitted by GCC; there are no errors in the code. By changing the parameter type to a pointer, we prevent GCC from making faulty assumptions about the code.
This commit is contained in:
parent
f2e8334faf
commit
846e50a76e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ typedef struct
|
||||||
} Sha1Context;
|
} Sha1Context;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
Sha1Transform(uint32_t state[5], const uint8_t buffer[64])
|
Sha1Transform(uint32_t state[5], const uint8_t *buffer)
|
||||||
{
|
{
|
||||||
uint32_t a, b, c, d, e, i;
|
uint32_t a, b, c, d, e, i;
|
||||||
uint8_t workspace[64];
|
uint8_t workspace[64];
|
||||||
|
|
Loading…
Reference in a new issue