mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* 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;
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue