summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_x509name.c
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-12 09:53:14 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-12 09:53:14 +0000
commit86faa72cdec2853b40b870dd5782e5d29e970728 (patch)
treedc8128b164671a1c63f5761b250f6fe439a4be21 /ext/openssl/ossl_x509name.c
parent50c8868ecaaa037ee55b11da05370f5b08ae2851 (diff)
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_x509name.c')
-rw-r--r--ext/openssl/ossl_x509name.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/ossl_x509name.c b/ext/openssl/ossl_x509name.c
index 9988976..61a630f 100644
--- a/ext/openssl/ossl_x509name.c
+++ b/ext/openssl/ossl_x509name.c
@@ -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