summaryrefslogtreecommitdiff
path: root/crypto/openssl/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-01-28 20:15:22 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-01-28 20:15:22 +0000
commit8180e704acbcb94cca5b29bf64a208add3e1edb6 (patch)
treed1486d18bb9fa5f51cadbaccb04f3c3879e273ec /crypto/openssl/ssl/ssl_lib.c
parent2cf60b3ce2660556476ac00ecbecead73fb5adca (diff)
parentc188d4cade9cba451816aef2371942bea4ff837f (diff)
downloadsrc-test2-8180e704acbcb94cca5b29bf64a208add3e1edb6.tar.gz
src-test2-8180e704acbcb94cca5b29bf64a208add3e1edb6.zip
Notes
Diffstat (limited to 'crypto/openssl/ssl/ssl_lib.c')
-rw-r--r--crypto/openssl/ssl/ssl_lib.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/openssl/ssl/ssl_lib.c b/crypto/openssl/ssl/ssl_lib.c
index f2071db93702..2744be8ad8ce 100644
--- a/crypto/openssl/ssl/ssl_lib.c
+++ b/crypto/openssl/ssl/ssl_lib.c
@@ -1060,10 +1060,7 @@ int SSL_shutdown(SSL *s)
return -1;
}
- if ((s != NULL) && !SSL_in_init(s))
- return (s->method->ssl_shutdown(s));
- else
- return (1);
+ return s->method->ssl_shutdown(s);
}
int SSL_renegotiate(SSL *s)