Close the accept socket on error
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 11:46:51 +0000 (12:46 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 28 Apr 2016 12:13:09 +0000 (13:13 +0100)
commitdf0f2759220f825efe1a77eae9e658fe37cc89c3
tree34597d86507b694a1ae51bc4ae4ca53e4f3cf6f6
parent2bd8c8539595b8708e825d306a45ddddc17c915c
Close the accept socket on error

When setting an accepted socket for non-blocking, if the operation fails
make sure we close the accepted socket.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bio/b_sock2.c