summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-07 16:32:10 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-07 16:32:10 +0000
commit8e96c2c57b853b5b3e246d67d4d0b3c820a95223 (patch)
tree6a86facfd53919607e31a4ee96593e1adf714cda /ext/openssl
parent35f78ac1f80e63522453d0d9b0192afd4fd5b424 (diff)
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
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/ossl_ssl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index c6f7d17231..e26be8a365 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -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);
}
}