From 0eaa8beb36ebe2d61663b5eb6e550afb0641b7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 5 Jun 2014 18:07:20 +0200 Subject: [PATCH] Fix signedness warning --- library/rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/rsa.c b/library/rsa.c index 32d829c4a..e171afa18 100644 --- a/library/rsa.c +++ b/library/rsa.c @@ -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,