mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
- Removed deprecated casts to int for now unsigned values
This commit is contained in:
@ -194,7 +194,7 @@ int md2_file( const char *path, unsigned char output[16] )
|
||||
md2_starts( &ctx );
|
||||
|
||||
while( ( n = fread( buf, 1, sizeof( buf ), f ) ) > 0 )
|
||||
md2_update( &ctx, buf, (int) n );
|
||||
md2_update( &ctx, buf, n );
|
||||
|
||||
md2_finish( &ctx, output );
|
||||
|
||||
|
Reference in New Issue
Block a user