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,