From 3f991534d47cea95e90c50be82e79f90cf1f14a7 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 May 2016 04:36:02 +0000 Subject: 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 --- ext/openssl/ossl_pkey_ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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; -- cgit v1.2.3