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:
@ -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,
|
||||
|
Reference in New Issue
Block a user