ruby-cvs:16016
From: (gotoyuzo) <gotoyuzo ruby-lang.org>
Date: Wed, 23 Nov 2005 07:28:52 +0900
Subject: [ruby-cvs:16016] ruby, ruby/test/openssl, ruby/ext/openssl: * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
gotoyuzo Wed, 23 Nov 2005 07:28:52 +0900
Modified files: (Branch: ruby_1_8)
ruby:
ChangeLog
ruby/ext/openssl:
extconf.rb ossl_x509ext.c
Added files: (Branch: ruby_1_8)
ruby/test/openssl:
test_x509ext.rb
Log:
* ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
* ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
OPENSSL_malloc to allocate X509V3_CTX.
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use
X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
values are placed in separate section).
* test/openssl/test_x509ext.rb: new file.
Revision Changes Path
1.2673.2.1406 +13 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1405&r2=1.2673.2.1406
1.1.2.1 +74 -0 ruby/test/openssl/test_x509ext.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/openssl/test_x509ext.rb?cvsroot=src&r1=1.1&r2=1.1.2.1
1.21.2.7 +2 -1 ruby/ext/openssl/extconf.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/extconf.rb?cvsroot=src&r1=1.21.2.6&r2=1.21.2.7
1.8.2.3 +21 -5 ruby/ext/openssl/ossl_x509ext.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/ossl_x509ext.c?cvsroot=src&r1=1.8.2.2&r2=1.8.2.3