[前][次][番号順一覧][スレッド一覧]

ruby-changes:42978

From: nobu <ko1@a...>
Date: Wed, 18 May 2016 13:36:07 +0900 (JST)
Subject: [ruby-changes:42978] nobu:r55052 (trunk): ossl_pkey_ec.c: index types

nobu	2016-05-18 13:36:02 +0900 (Wed, 18 May 2016)

  New Revision: 55052

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55052

  Log:
    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.

  Modified files:
    trunk/ext/openssl/ossl_pkey_ec.c
Index: ext/openssl/ossl_pkey_ec.c
===================================================================
--- ext/openssl/ossl_pkey_ec.c	(revision 55051)
+++ ext/openssl/ossl_pkey_ec.c	(revision 55052)
@@ -1543,7 +1543,7 @@ static VALUE ossl_ec_point_mul(int argc, https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_pkey_ec.c#L1543
 	 * 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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]