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): should initialize
flag. [ruby-core:07785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
08968d685d
commit
968eb23418
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Apr 29 22:43:37 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
|
||||||
|
flag. [ruby-core:07785]
|
||||||
|
|
||||||
Tue Apr 25 18:00:05 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
Tue Apr 25 18:00:05 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
* ext/tk/tcltklib.c (delete_slaves): maybe increment the reference
|
* ext/tk/tcltklib.c (delete_slaves): maybe increment the reference
|
||||||
|
|
|
@ -766,7 +766,7 @@ ossl_asn1_decode0(unsigned char **pp, long length, long *offset, long depth,
|
||||||
if(tag_class == sUNIVERSAL &&
|
if(tag_class == sUNIVERSAL &&
|
||||||
tag < ossl_asn1_info_size && ossl_asn1_info[tag].klass){
|
tag < ossl_asn1_info_size && ossl_asn1_info[tag].klass){
|
||||||
VALUE klass = *ossl_asn1_info[tag].klass;
|
VALUE klass = *ossl_asn1_info[tag].klass;
|
||||||
long flag;
|
long flag = 0;
|
||||||
if(!rb_obj_is_kind_of(value, rb_cArray)){
|
if(!rb_obj_is_kind_of(value, rb_cArray)){
|
||||||
switch(tag){
|
switch(tag){
|
||||||
case V_ASN1_BOOLEAN:
|
case V_ASN1_BOOLEAN:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue