diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-18 04:36:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-18 04:36:02 +0000 |
commit | d508250482de0345f783f2199db2a545cfbc6c4c (patch) | |
tree | 8c64d099f075be5b245e3bd8810f1b0881e335e0 | |
parent | d07f254627bcd2dfde68343d9c38b6732f93198b (diff) | |
download | ruby-d508250482de0345f783f2199db2a545cfbc6c4c.tar.gz |
ossl_pkey_ec.c: index types
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): fix index types.
Array length is long, not int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/openssl/ossl_pkey_ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c index a5bddd7d7c..26eb5e8acf 100644 --- a/ext/openssl/ossl_pkey_ec.c +++ b/ext/openssl/ossl_pkey_ec.c @@ -1543,7 +1543,7 @@ static VALUE ossl_ec_point_mul(int argc, VALUE *argv, VALUE self) * bignums | arg1[0] | arg1[1] | arg1[2] | ... * points | self | arg2[0] | arg2[1] | ... */ - int i, num; + long i, num; VALUE tmp_p, tmp_b; const EC_POINT **points; const BIGNUM **bignums; |