summaryrefslogtreecommitdiffstats
path: root/ext/openssl
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
commitbbf348c41573b9149125c4699d74ed65233422bb (patch)
tree15e13d5b574d351b803c1d7eee3a4ec3826f48df /ext/openssl
parentded9d5c54d156f66028be7518129be0fe9d2a0e1 (diff)
downloadruby-bbf348c41573b9149125c4699d74ed65233422bb.tar.gz
ruby-bbf348c41573b9149125c4699d74ed65233422bb.tar.xz
ruby-bbf348c41573b9149125c4699d74ed65233422bb.zip
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl')
-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