summaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_x509ext.c
diff options
context:
space:
mode:
authortechnorama <technorama@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-20 22:32:06 +0000
committertechnorama <technorama@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-20 22:32:06 +0000
commitcb1dd709a8a3dc8701aff905cce9035a005833d3 (patch)
tree662e690f876d5c03f5937b38149bfedd6e4fbfa8 /ext/openssl/ossl_x509ext.c
parentcbc863efeb172b9ac9b27180587fec4a75ee8aab (diff)
downloadruby-cb1dd709a8a3dc8701aff905cce9035a005833d3.tar.gz
ruby-cb1dd709a8a3dc8701aff905cce9035a005833d3.tar.xz
ruby-cb1dd709a8a3dc8701aff905cce9035a005833d3.zip
* ext/openssl/ossl_ssl.c: Switch stats hash key from string to symbol.
New method SSLContext#setup to aid C extension writers. * test/openssl/test_ssl.rb: Add tests for new method and sessions. Use threads for ssl server instead of forking. * ext/openssl/ossl_version.h: Bump version. * ext/openssl/ossl_x509ext.c: Fix warnings. * test/openssl/utils.rb: Fix warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_x509ext.c')
-rw-r--r--ext/openssl/ossl_x509ext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl_x509ext.c b/ext/openssl/ossl_x509ext.c
index aa9366f90..551e68798 100644
--- a/ext/openssl/ossl_x509ext.c
+++ b/ext/openssl/ossl_x509ext.c
@@ -110,6 +110,7 @@ ossl_x509extfactory_alloc(VALUE klass)
VALUE obj;
MakeX509ExtFactory(klass, obj, ctx);
+ rb_iv_set(obj, "@config", Qnil);
return obj;
}