1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

reverting r30451 until I can figure out what is wrong.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tenderlove 2011-01-07 16:32:10 +00:00
parent 35f78ac1f8
commit 8e96c2c57b
2 changed files with 1 additions and 10 deletions

View file

@ -81,12 +81,6 @@ Wed Jan 5 13:56:54 2011 Akinori MUSHA <knu@iDaemons.org>
* lib/net/http.rb (Net::HTTP#get): A header hash given should not
be modified.
Wed Jan 5 13:56:03 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/openssl/ossl_ssl.c: SSL_shutdown should be called until the
return value is non-zero:
http://www.openssl.org/docs/ssl/SSL_shutdown.html
Wed Jan 5 12:10:08 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/dl/{cfunc.c,dl.h,handle.c}, ext/fiddle/fiddle.{h,c}: Use _WIN32

View file

@ -960,11 +960,8 @@ ossl_sslctx_flush_sessions(int argc, VALUE *argv, VALUE self)
static void
ossl_ssl_shutdown(SSL *ssl)
{
int dead;
if (ssl) {
do {
dead = SSL_shutdown(ssl);
} while(!dead);
SSL_shutdown(ssl);
SSL_clear(ssl);
}
}