mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Fix warning of signed/unsigned comparison.
This commit is contained in:
parent
75359644d0
commit
8d3cdd5b58
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user