summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-04-29 13:52:15 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-04-29 13:52:15 +0000
commit366196a6976dd8d2d83c8d069f08cbd69509b23e (patch)
tree7c29cd5f096e83131c858627ed1384eadb84400b /ext
parent3e3fb1e9b0de0523b827fc73b824a887b13c4b2b (diff)
downloadruby-366196a6976dd8d2d83c8d069f08cbd69509b23e.tar.gz
ruby-366196a6976dd8d2d83c8d069f08cbd69509b23e.tar.xz
ruby-366196a6976dd8d2d83c8d069f08cbd69509b23e.zip
* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
flag. [ruby-core:07785] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/openssl/ossl_asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c
index e37496421..1947a42d7 100644
--- a/ext/openssl/ossl_asn1.c
+++ b/ext/openssl/ossl_asn1.c
@@ -766,7 +766,7 @@ ossl_asn1_decode0(unsigned char **pp, long length, long *offset, long depth,
if(tag_class == sUNIVERSAL &&
tag < ossl_asn1_info_size && 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)){
switch(tag){
case V_ASN1_BOOLEAN: