mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Fix less-than-zero checks on unsigned numbers
This commit is contained in:
parent
4a9dc2a474
commit
12895d15f8
6 changed files with 6 additions and 6 deletions
|
|
@ -199,7 +199,7 @@ void md4_update( md4_context *ctx, const unsigned char *input, size_t ilen )
|
|||
size_t fill;
|
||||
uint32_t left;
|
||||
|
||||
if( ilen <= 0 )
|
||||
if( ilen == 0 )
|
||||
return;
|
||||
|
||||
left = ctx->total[0] & 0x3F;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue