aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_ocsp.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-04 07:18:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-04 07:18:01 +0000
commit52912db4a81f9b9b69ab9e9fcd95e22d086d4289 (patch)
tree664a5b8fb85a73fa2083e49bf8c4982e93586969 /ext/openssl/ossl_ocsp.c
parentc8803b10d18fa4d28c7eba47c232004149779b26 (diff)
downloadruby-52912db4a81f9b9b69ab9e9fcd95e22d086d4289.tar.gz
ext: adjust index type
* ext: use long for index instead of int and RARRAY_LENINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_ocsp.c')
-rw-r--r--ext/openssl/ossl_ocsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_ocsp.c b/ext/openssl/ossl_ocsp.c
index af32d99e01..00078e62df 100644
--- a/ext/openssl/ossl_ocsp.c
+++ b/ext/openssl/ossl_ocsp.c
@@ -671,9 +671,9 @@ ossl_ocspbres_add_status(VALUE self, VALUE cid, VALUE status,
OCSP_BASICRESP *bs;
OCSP_SINGLERESP *single;
OCSP_CERTID *id;
- int st, rsn;
ASN1_TIME *ths, *nxt, *rev;
- int error, i, rstatus = 0;
+ int st, rsn, error, rstatus = 0;
+ long i;
VALUE tmp;
st = NUM2INT(status);