mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
8ec111cae9
commit
a70b33bac9
2 changed files with 7 additions and 1 deletions
|
@ -104,8 +104,9 @@ ossl_x509name_init_i(VALUE i, VALUE args)
|
|||
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] = DEFAULT_OBJECT_TYPE;
|
||||
|
||||
ossl_x509name_add_entry(3, entry, self);
|
||||
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue