Don't close underlying file descriptor before destroying a tls_socket
authorMartin Willi <martin@revosec.ch>
Mon, 18 Feb 2013 10:45:01 +0000 (11:45 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 28 Feb 2013 15:46:07 +0000 (16:46 +0100)
commit55854ecc25c0984a39ed6ff247c7ba772d0fbe11
treee3afcfeb36eb96dd65451326505300783c797632
parentbc07fef09c3df419ac1bc7c7f1e669b51e92569c
Don't close underlying file descriptor before destroying a tls_socket

tls_socket cleanup usually sends a TLS close notify, for which it uses a valid
socket.
src/libpttls/pt_tls_client.c