summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_ssl.c
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 08:56:09 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 08:56:09 +0000
commit256d273e69081484b1a30a66a9be196b7d2e1ac2 (patch)
tree5fc395099c17ce9fbf3a7f4f95b283c898c7858a /ext/openssl/ossl_ssl.c
parentdc29af2a0641f839f4a624468f73da50a614b300 (diff)
* ext/openssl/ruby_missing.c: rid of unnecessary backward
compatibility stuff. and remove DEFINE_ALLOC_WRAPPER from all sources. * ext/openssl/ossl_x509ext.c (X509::Extension.new): new method. * ext/openssl/ossl_x509ext.c (X509::Extension#oid=): new method. * ext/openssl/ossl_x509ext.c (X509::Extension#value=): new method. * ext/openssl/ossl_x509ext.c (X509::Extension#critical=): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_ssl.c')
-rw-r--r--ext/openssl/ossl_ssl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 5611f43..6305e4c 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -107,7 +107,6 @@ ossl_sslctx_s_alloc(VALUE klass)
SSL_CTX_set_options(ctx, SSL_OP_ALL);
return Data_Wrap_Struct(klass, 0, ossl_sslctx_free, ctx);
}
-DEFINE_ALLOC_WRAPPER(ossl_sslctx_s_alloc)
static VALUE
ossl_sslctx_initialize(int argc, VALUE *argv, VALUE self)
@@ -365,7 +364,6 @@ ossl_ssl_s_alloc(VALUE klass)
{
return Data_Wrap_Struct(klass, 0, ossl_ssl_free, NULL);
}
-DEFINE_ALLOC_WRAPPER(ossl_ssl_s_alloc)
static VALUE
ossl_ssl_initialize(int argc, VALUE *argv, VALUE self)