diff options
author | Rich Salz <rsalz@akamai.com> | 2016-03-02 16:12:46 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-07 14:47:54 -0500 |
commit | 8731a4fcd267d56cab2ad6d7cfac2c846c413a5d (patch) | |
tree | b910ec1848c7ab94b633264a3c076c89007ead4e /crypto/bio/bss_sock.c | |
parent | 2b2b96847d7f22b24109a53a57c6d4d371209de3 (diff) |
ISSUE 43: Add BIO_sock_shutdown
This replaces SHUTDOWN/SHUTDOWN2 with BIO_closesocket.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/bss_sock.c')
-rw-r--r-- | crypto/bio/bss_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c index 9988723f8e..b56cd18d93 100644 --- a/crypto/bio/bss_sock.c +++ b/crypto/bio/bss_sock.c @@ -122,7 +122,7 @@ static int sock_free(BIO *a) return (0); if (a->shutdown) { if (a->init) { - SHUTDOWN2(a->num); + BIO_closesocket(a->num); } a->init = 0; a->flags = 0; |