1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Explicit conversions and minor changes to prevent MSVC compiler warnings

This commit is contained in:
Paul Bakker
2013-10-11 18:58:55 +02:00
committed by Paul Bakker
parent b887f1119e
commit b9cfaa0c7f
21 changed files with 111 additions and 79 deletions

View File

@ -269,7 +269,7 @@ int pkcs5_pbkdf2_hmac( md_context_t *ctx, const unsigned char *password,
use_len = ( key_length < md_size ) ? key_length : md_size;
memcpy( out_p, work, use_len );
key_length -= use_len;
key_length -= (uint32_t) use_len;
out_p += use_len;
for( i = 4; i > 0; i-- )