From c1d9e252be110a649fec99623e064779384c41d2 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 14 Dec 2010 01:30:41 +0000 Subject: * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms must a man mend; before he can build with VC? r30178 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl') diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c index 7fb9121558..b67decc5f3 100644 --- a/ext/openssl/ossl_asn1.c +++ b/ext/openssl/ossl_asn1.c @@ -764,8 +764,8 @@ ossl_asn1_decode0(unsigned char **pp, long length, long *offset, long depth, tag_class = sUNIVERSAL; if(j & V_ASN1_CONSTRUCTED){ if((j == 0x21) && (len == 0)){ - infinite = 1; long lastoff = off; + infinite = 1; value = ossl_asn1_decode0(&p, length, &off, depth+1, 0, yield); len = off - lastoff; } -- cgit v1.2.3