Fix signedness warning
This commit is contained in:
parent
eacccb7fb9
commit
0eaa8beb36
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue