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 7b505316a4 * ext/openssl/ossl_ssl.c (ossl_ssl_read):
- should return an empty string if specified length to read is 0.
  - should check for pending data and wait for fd before reading.
  - call underlying IO's sysread if SSL session is not started.
  [ruby-dev:24072], [ruby-dev:24075]

* ext/openssl/ossl_ssl.c (ossl_ssl_write):
  - call underlying IO's syswrite if SSL session is not started.

* ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method
  OpenSSL::SSL#pending.

* ext/openssl/lib/openssl/buffering.rb: should not use select.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-22 07:28:45 +00:00
..
lib * ext/openssl/ossl_ssl.c (ossl_ssl_read): 2004-08-22 07:28:45 +00:00
.cvsignore * ext/io/wait/.cvsignore: added. 2003-09-04 10:39:29 +00:00
extconf.rb * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
MANIFEST MANIFEST update. 2004-03-23 05:49:10 +00:00
openssl_missing.c * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
openssl_missing.h * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
ossl.c * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +00:00
ossl.h * ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12. 2003-12-11 12:29:08 +00:00
ossl_asn1.c * ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type of 2004-07-14 09:09:36 +00:00
ossl_asn1.h * ext/openssl/ossl_asn1.h: global symbols should be declared 2003-10-04 18:45:53 +00:00
ossl_bio.c * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +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 * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +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_set_padding): last modify is 2004-07-01 04:50:33 +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 * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +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 * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +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 * lib/ext/openssl/extconf.rb: add check for some engine functions 2003-10-05 13:58:02 +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 * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
ossl_hmac.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ns_spki.c * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +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_initialize): the argument 2003-09-20 19:18:22 +00:00
ossl_ocsp.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_pkcs7.c * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +00:00
ossl_pkcs7.h * ext/openssl: imported. 2003-07-23 16:12:24 +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/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12. 2003-12-11 12:29:08 +00:00
ossl_pkey.c * ext/openssl/ossl_pkey.c (ossl_pkey_to_der): removed; it returns 2004-01-08 12:24:22 +00:00
ossl_pkey.h OpenSSL update 2003-09-12 13:46:48 +00:00
ossl_pkey_dh.c * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create 2004-06-21 16:36:19 +00:00
ossl_pkey_dsa.c * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create 2004-06-21 16:36:19 +00:00
ossl_pkey_rsa.c * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create 2004-06-21 16:36:19 +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 * ext/openssl/ossl_ssl.c (ossl_ssl_read): 2004-08-22 07:28:45 +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 * ext/openssl/ossl_asn1.c: add DER encoder and decoder. 2003-10-03 08:58:01 +00:00
ossl_x509cert.c * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +00:00
ossl_x509crl.c * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +00:00
ossl_x509ext.c * /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): 2003-11-15 13:19:17 +00:00
ossl_x509name.c * ext/openssl/ossl_x509name.c: attribute value of DC (short name of 2004-05-12 05:38:20 +00:00
ossl_x509req.c * ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function for 2003-11-13 07:48:20 +00:00
ossl_x509revoked.c * ext/openssl/ruby_missing.c: rid of unnecessary backward 2003-09-06 08:56:09 +00:00
ossl_x509store.c * ext/openssl/ruby_missing.c: rid of unnecessary backward 2003-09-06 08:56:09 +00:00
ruby_missing.h * ext/openssl/ruby_missing.c: rid of unnecessary backward 2003-09-06 08:56:57 +00:00