* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2004-04-12 09:53:14 +00:00
parent 8ec111cae9
commit a70b33bac9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Apr 12 18:45:58 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return
a value.
Mon Apr 12 10:39:50 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> Mon Apr 12 10:39:50 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob): * dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):

View File

@ -104,8 +104,9 @@ ossl_x509name_init_i(VALUE i, VALUE args)
entry[2] = rb_ary_entry(i, 2); entry[2] = rb_ary_entry(i, 2);
if(NIL_P(entry[2])) entry[2] = rb_aref(template, entry[0]); if(NIL_P(entry[2])) entry[2] = rb_aref(template, entry[0]);
if(NIL_P(entry[2])) entry[2] = DEFAULT_OBJECT_TYPE; if(NIL_P(entry[2])) entry[2] = DEFAULT_OBJECT_TYPE;
ossl_x509name_add_entry(3, entry, self); ossl_x509name_add_entry(3, entry, self);
return Qnil;
} }
static VALUE static VALUE