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

Fix signedness warning

This commit is contained in:
Manuel Pégourié-Gonnard
2014-06-05 18:07:20 +02:00
parent eacccb7fb9
commit 0eaa8beb36

View File

@ -1236,7 +1236,7 @@ int rsa_rsassa_pss_verify( rsa_context *ctx,
const unsigned char *sig )
{
md_type_t mgf1_hash_id = ( ctx->hash_id != POLARSSL_MD_NONE )
? ctx->hash_id
? (md_type_t) ctx->hash_id
: md_alg;
return( rsa_rsassa_pss_verify_ext( ctx, f_rng, p_rng, mode,