projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7535964
)
Fix warning of signed/unsigned comparison.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 5 May 2011 14:47:38 +0000
(14:47 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 5 May 2011 14:47:38 +0000
(14:47 +0000)
crypto/bn/bn_gf2m.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_gf2m.c
b/crypto/bn/bn_gf2m.c
index 6caf2888a658bd8b372d4668614da7fe5141d6c5..5a13515c3634d13769ecc19455679ae46b6bcdbc 100644
(file)
--- a/
crypto/bn/bn_gf2m.c
+++ b/
crypto/bn/bn_gf2m.c
@@
-368,7
+368,7
@@
int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)
bn_check_top(a);
bn_check_top(p);
ret = BN_GF2m_poly2arr(p, arr, sizeof(arr)/sizeof(arr[0]));
- if (!ret || ret >
sizeof(arr)/sizeof(arr[0]
))
+ if (!ret || ret >
(int)(sizeof(arr)/sizeof(arr[0])
))
{
BNerr(BN_F_BN_GF2M_MOD,BN_R_INVALID_LENGTH);
return 0;