diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-01-28 20:15:22 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-01-28 20:15:22 +0000 |
commit | 8180e704acbcb94cca5b29bf64a208add3e1edb6 (patch) | |
tree | d1486d18bb9fa5f51cadbaccb04f3c3879e273ec /crypto/openssl/ssl/ssl_lib.c | |
parent | 2cf60b3ce2660556476ac00ecbecead73fb5adca (diff) | |
parent | c188d4cade9cba451816aef2371942bea4ff837f (diff) | |
download | src-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.c | 5 |
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) |