diff options
Diffstat (limited to 'Utilities/cmlibrhash/librhash')
-rw-r--r-- | Utilities/cmlibrhash/librhash/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmlibrhash/librhash/md5.c b/Utilities/cmlibrhash/librhash/md5.c index 0feb090..b20de45 100644 --- a/Utilities/cmlibrhash/librhash/md5.c +++ b/Utilities/cmlibrhash/librhash/md5.c @@ -213,8 +213,8 @@ void rhash_md5_final(md5_ctx *ctx, unsigned char* result) /* pad message and run for last block */ /* append the byte 0x80 to the message */ - ctx->message[index] &= ~(0xFFFFFFFF << shift); - ctx->message[index++] ^= 0x80 << shift; + ctx->message[index] &= ~(0xFFFFFFFFu << shift); + ctx->message[index++] ^= 0x80u << shift; /* if no room left in the message to store 64-bit message length */ if (index > 14) { |