* 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
This commit is contained in:
parent
903538cbb3
commit
c1d9e252be
@ -1,3 +1,8 @@
|
|||||||
|
Tue Dec 14 10:25:57 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms
|
||||||
|
must a man mend; before he can build with VC? r30178
|
||||||
|
|
||||||
Mon Dec 13 21:26:33 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
Mon Dec 13 21:26:33 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (simple_sendfile): disable the use of sendfile(2) on
|
* io.c (simple_sendfile): disable the use of sendfile(2) on
|
||||||
|
@ -764,8 +764,8 @@ ossl_asn1_decode0(unsigned char **pp, long length, long *offset, long depth,
|
|||||||
tag_class = sUNIVERSAL;
|
tag_class = sUNIVERSAL;
|
||||||
if(j & V_ASN1_CONSTRUCTED){
|
if(j & V_ASN1_CONSTRUCTED){
|
||||||
if((j == 0x21) && (len == 0)){
|
if((j == 0x21) && (len == 0)){
|
||||||
infinite = 1;
|
|
||||||
long lastoff = off;
|
long lastoff = off;
|
||||||
|
infinite = 1;
|
||||||
value = ossl_asn1_decode0(&p, length, &off, depth+1, 0, yield);
|
value = ossl_asn1_decode0(&p, length, &off, depth+1, 0, yield);
|
||||||
len = off - lastoff;
|
len = off - lastoff;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user