projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad2e14
)
stop warnings
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 21 Jul 2011 13:45:06 +0000
(13:45 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 21 Jul 2011 13:45:06 +0000
(13:45 +0000)
crypto/engine/eng_rsax.c
patch
|
blob
|
history
diff --git
a/crypto/engine/eng_rsax.c
b/crypto/engine/eng_rsax.c
index 7c4fa713139a2bdf807bd6ca4dfba089a94418cb..72185d686bf436dcb7e7481501831e76b37758a6 100644
(file)
--- a/
crypto/engine/eng_rsax.c
+++ b/
crypto/engine/eng_rsax.c
@@
-73,6
+73,7
@@
#include <openssl/rsa.h>
#endif
#include <openssl/bn.h>
+#include <openssl/err.h>
/* 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) {