From: Dr. Stephen Henson Date: Thu, 21 Jul 2011 13:45:17 +0000 (+0000) Subject: stop warnings X-Git-Tag: OpenSSL_1_0_1-beta1~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bd8bf58bba469038f8573ee0e819f0a888f675f;p=openssl stop warnings --- diff --git a/crypto/engine/eng_rsax.c b/crypto/engine/eng_rsax.c index 7c4fa71313..72185d686b 100644 --- a/crypto/engine/eng_rsax.c +++ b/crypto/engine/eng_rsax.c @@ -73,6 +73,7 @@ #include #endif #include +#include /* RSAX is available **ONLY* on x86_64 CPUs */ #undef COMPILE_RSAX @@ -284,7 +285,7 @@ static E_RSAX_MOD_CTX *e_rsax_get_ctx(RSA *rsa, int idx, BIGNUM* m) RSA_set_ex_data(rsa, rsax_ex_data_idx, hptr); } - if (hptr[idx].type == BN_num_bits(m)) + if (hptr[idx].type == (UINT64)BN_num_bits(m)) return hptr+idx; if (BN_num_bits(m) == 512) {