1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/openssl
gotoyuzo 67673f6b47 * 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.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 22:29:13 +00:00
..
lib * ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write): 2005-09-04 22:03:24 +00:00
.cvsignore * ext/io/wait/.cvsignore: added. 2003-09-04 10:39:29 +00:00
extconf.rb * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid. 2005-11-22 22:29:13 +00:00
openssl_missing.c * ext/openssl/openssl_missin.c: include <openssl/engine.h> before 2005-07-26 03:59:39 +00:00
openssl_missing.h * ext/openssl/extconf.rb: check for OPENSSL_cleanse. 2005-04-15 19:16:18 +00:00
ossl.c * ext/openssl/extconf.rb: should check ERR_peek_last_error(). 2005-11-01 01:52:13 +00:00
ossl.h * ext/openssl/ossl.h: need to include winsock2.h before including 2005-11-07 07:25:25 +00:00
ossl_asn1.c * ext/openssl/ossl_asn1.c (asn1str_to_str): new function. 2005-09-07 07:40:55 +00:00
ossl_asn1.h * ext/openssl/ossl_asn1.c (asn1str_to_str): new function. 2005-09-07 07:40:55 +00:00
ossl_bio.c * ext/openssl/openssl_missing.c, ext/openssl/ossl.h, 2005-06-19 16:29:17 +00:00
ossl_bio.h * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +00:00
ossl_bn.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_bn.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_cipher.c * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must 2005-10-30 20:50:48 +00:00
ossl_cipher.h * ext/openssl/lib/openssl/x509.rb: new method X509::Name::parse. 2003-09-05 09:08:40 +00:00
ossl_config.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_config.h * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h. 2003-09-08 10:31:38 +00:00
ossl_digest.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_digest.h * ext/openssl/lib/openssl/x509.rb: new method X509::Name::parse. 2003-09-05 09:08:40 +00:00
ossl_engine.c * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c: 2005-09-18 22:56:11 +00:00
ossl_engine.h * ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine. 2003-10-02 08:47:11 +00:00
ossl_hmac.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_hmac.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ns_spki.c * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode 2005-08-22 20:47:55 +00:00
ossl_ns_spki.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ocsp.c * ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call 2005-01-22 20:28:02 +00:00
ossl_ocsp.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_pkcs7.c * ext/openssl/ossl_asn1.c (asn1str_to_str): new function. 2005-09-07 07:40:55 +00:00
ossl_pkcs7.h * ext/openssl/ossl_asn1.c (asn1str_to_str): new function. 2005-09-07 07:40:55 +00:00
ossl_pkcs12.c * ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): first argument 2003-12-15 00:30:12 +00:00
ossl_pkcs12.h * ext/openssl/openssl_missing.c, ext/openssl/ossl.h, 2005-06-19 16:29:17 +00:00
ossl_pkey.c * ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks: 2005-03-09 10:45:42 +00:00
ossl_pkey.h * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c: 2005-09-18 22:56:11 +00:00
ossl_pkey_dh.c * ext/openssl/ossl_pkey_dh.c (ossl_create_dh): fix typo. 2005-03-12 17:15:29 +00:00
ossl_pkey_dsa.c * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c: 2005-09-18 22:56:11 +00:00
ossl_pkey_rsa.c * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c: 2005-09-18 22:56:11 +00:00
ossl_rand.c * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +00:00
ossl_rand.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ssl.c banish some warnings. 2005-09-24 00:17:43 +00:00
ossl_ssl.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_version.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_x509.c * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h. 2003-09-08 10:31:38 +00:00
ossl_x509.h * ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method 2003-11-01 09:24:55 +00:00
ossl_x509attr.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_x509cert.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_x509crl.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_x509ext.c * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid. 2005-11-22 22:29:13 +00:00
ossl_x509name.c * ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use 2004-12-27 07:55:56 +00:00
ossl_x509req.c * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode 2005-08-22 20:47:55 +00:00
ossl_x509revoked.c * lib/set.rb (Set#==): [ruby-dev:25206] 2004-12-15 06:35:55 +00:00
ossl_x509store.c * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode 2005-08-22 20:47:55 +00:00
ruby_missing.h * ext/openssl/ruby_missing.c: rid of unnecessary backward 2003-09-06 08:56:57 +00:00