commit | ef5087d150d5804e239878b17f357c9fee627883 | [log] [tgz] |
---|---|---|
author | Sander Niemeijer <svniemeijer@mac.com> | Sat Aug 16 12:45:52 2014 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 21 23:48:14 2014 +0200 |
tree | e95f94d1f91f2d52ca886a9947e93e44c9ee059a | |
parent | 8ef7088bb9b08058d4e679e7f85177adf073a899 [diff] [blame] |
Added explicit casts to prevent compiler warnings when trying to build for iOS
diff --git a/library/pk.c b/library/pk.c index 11faf3c..4aba3aa 100644 --- a/library/pk.c +++ b/library/pk.c
@@ -222,7 +222,7 @@ ret = rsa_rsassa_pss_verify_ext( pk_rsa( *ctx ), NULL, NULL, RSA_PUBLIC, - md_alg, hash_len, hash, + md_alg, (unsigned int) hash_len, hash, pss_opts->mgf1_hash_id, pss_opts->expected_salt_len, sig );