diff options
Diffstat (limited to 'src/sha1.h')
-rw-r--r-- | src/sha1.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sha1.h b/src/sha1.h index 4c76d19da..f41691258 100644 --- a/src/sha1.h +++ b/src/sha1.h @@ -8,14 +8,14 @@ By Steve Reid <steve@edmweb.com> */ typedef struct { - u_int32_t state[5]; - u_int32_t count[2]; + uint32_t state[5]; + uint32_t count[2]; unsigned char buffer[64]; } SHA1_CTX; -void SHA1Transform(u_int32_t state[5], const unsigned char buffer[64]); +void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]); void SHA1Init(SHA1_CTX* context); -void SHA1Update(SHA1_CTX* context, const unsigned char* data, u_int32_t len); +void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len); void SHA1Final(unsigned char digest[20], SHA1_CTX* context); #ifdef REDIS_TEST |