]> The Tcpdump Group git mirrors - libpcap/commit
Shut down SSL sessions semi-gracefully.
authorGuy Harris <[email protected]>
Tue, 29 Jan 2019 22:37:21 +0000 (14:37 -0800)
committerGuy Harris <[email protected]>
Tue, 29 Jan 2019 22:37:21 +0000 (14:37 -0800)
commit45579c945ae1294260130c18c6892e1b95ce64a9
treef20afac2e5a0c70ed4bdb5d77e579a8200fbfae0
parent99dc51e5552d0d87c61644142421a2853d852694
Shut down SSL sessions semi-gracefully.

Before we shut down the socket, send a shutdown alert.  That should
prevent some cases where errors are reported when they shouldn't be (it
was happening if I did a --list-remote-interfaces in tcpdump).

While we're at it, do the SSL shutdown *before* closing the main active
socket; we were doing it *after*.  Also, fix a comment.
pcap-rpcap.c
rpcapd/daemon.c
sslutils.c
sslutils.h