mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-22 12:41:02 +00:00
Fix signedness warning
This commit is contained in:
parent
eacccb7fb9
commit
0eaa8beb36
|
@ -1236,7 +1236,7 @@ int rsa_rsassa_pss_verify( rsa_context *ctx,
|
||||||
const unsigned char *sig )
|
const unsigned char *sig )
|
||||||
{
|
{
|
||||||
md_type_t mgf1_hash_id = ( ctx->hash_id != POLARSSL_MD_NONE )
|
md_type_t mgf1_hash_id = ( ctx->hash_id != POLARSSL_MD_NONE )
|
||||||
? ctx->hash_id
|
? (md_type_t) ctx->hash_id
|
||||||
: md_alg;
|
: md_alg;
|
||||||
|
|
||||||
return( rsa_rsassa_pss_verify_ext( ctx, f_rng, p_rng, mode,
|
return( rsa_rsassa_pss_verify_ext( ctx, f_rng, p_rng, mode,
|
||||||
|
|
Loading…
Reference in a new issue