Reacted on -Wextra -Wno-unused-parameter warnings of gcc for md5.c
This commit is contained in:
parent
228995c148
commit
e69854b35f
@ -229,10 +229,10 @@ static int md5_init(libisofs_md5_ctx *ctx, int flag)
|
|||||||
static int md5_update(libisofs_md5_ctx *ctx, unsigned char *data,
|
static int md5_update(libisofs_md5_ctx *ctx, unsigned char *data,
|
||||||
int datalen, int flag)
|
int datalen, int flag)
|
||||||
{
|
{
|
||||||
unsigned int i, index, partlen;
|
int i, index, partlen;
|
||||||
|
|
||||||
/* Compute number of bytes mod 64 */
|
/* Compute number of bytes mod 64 */
|
||||||
index = (unsigned int)((ctx->count[0] >> 3) & 0x3F);
|
index = ((ctx->count[0] >> 3) & 0x3F);
|
||||||
/* Update number of bits */
|
/* Update number of bits */
|
||||||
if ((ctx->count[0] += ((uint32_t) datalen << 3)) <
|
if ((ctx->count[0] += ((uint32_t) datalen << 3)) <
|
||||||
((uint32_t) datalen << 3))
|
((uint32_t) datalen << 3))
|
||||||
|
Loading…
Reference in New Issue
Block a user