diff options
author | Richard Levitte <levitte@openssl.org> | 2002-01-26 04:50:41 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-01-26 04:50:41 +0000 |
commit | b77fcddb6b97c2a0f8a7eeff9e971e6ad48d9104 (patch) | |
tree | b15f4fa53e6e3cd9d56b8fe3edf587aef93025b6 /crypto/ec | |
parent | f6fbd470e3bb589280dbe7a98bcdd89c48c2253b (diff) |
Apply a small patch from Oscar Jacobsson <oscar@jacobsson.org> that
makes things more compilable with VC++.
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ec_mult.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c index 2c430c85bd..f14f8d88ed 100644 --- a/crypto/ec/ec_mult.c +++ b/crypto/ec/ec_mult.c @@ -336,7 +336,7 @@ int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, for (i = 0; i < totalnum; i++) { - if (wNAF_len[i] > k) + if (wNAF_len[i] > (size_t)k) { int digit = wNAF[i][k]; int is_neg; |