1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/openssl
gotoyuzo a9fb0817a1 * ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that
the underlying IO become readable or writable if the error was
  SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795]

* ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto.

* ext/openssl/lib/openssl/buffering.rb
  (Buffering#consume_rbuf): pointless eof flag resetting is deleted.
  (Buffering#read): should return an empty string if the specified
  size is zero.
  (Buffering#readpartial): new method.
  (Buffering#readline): fix typo.
  (Buffering#getc): return the first character of string correctly.
  (Buffering#readchar): fix typo.
  (Buffering#eof?): should read again it the input buffer is empty.
  (Buffering#do_write): should rescue Errno::EAGAIN.
  (Buffering#puts): use "\n" as the output field separator.

* ext/openssl/extconf.rb: get rid of GNUmakefile generation.

* text/openssl/test_pair.rb: test for IO like methods.

* test/ruby/ut_eof.rb: test about empty file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-05 21:36:11 +00:00
..
ssl_server.rb * test/openssl/ssl_server.rb: get rid of race condition. 2005-02-16 14:58:25 +00:00
test_asn1.rb * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode): 2004-12-21 03:44:17 +00:00
test_cipher.rb * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
test_digest.rb * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
test_hmac.rb * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
test_pair.rb * ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that 2005-03-05 21:36:11 +00:00
test_pkey_rsa.rb * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt, 2004-12-05 16:36:26 +00:00
test_ssl.rb * ext/openssl/lib/openssl/ssl.rb 2005-02-14 04:14:39 +00:00
test_x509cert.rb
test_x509crl.rb * test_x509crl.rb (test_basic): add test for CRL issuer. 2004-05-21 18:25:25 +00:00
test_x509name.rb * test/openssl/ssl_server.rb: try to listen ports from 20443 to 20542 2004-11-17 08:04:19 +00:00
test_x509req.rb
test_x509store.rb * ext/openssl/ossl_x509store.c 2004-10-15 09:16:19 +00:00
utils.rb * test_x509crl.rb (test_basic): add test for CRL issuer. 2004-05-21 18:25:25 +00:00