summaryrefslogtreecommitdiffstats
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
commitc3b9ea637e890a6db0ff1499b63927d7a6187acc (patch)
treedc8128b164671a1c63f5761b250f6fe439a4be21 /ext/openssl/ossl_x509name.c
parent64058c9ae92d7f18c87cfa9be396e3df9c43af1a (diff)
downloadruby-c3b9ea637e890a6db0ff1499b63927d7a6187acc.tar.gz
ruby-c3b9ea637e890a6db0ff1499b63927d7a6187acc.tar.xz
ruby-c3b9ea637e890a6db0ff1499b63927d7a6187acc.zip
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.
git-svn-id: http://svn.ruby-lang.org/repos/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 9988976eb..61a630f2a 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