summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tls.c b/tls.c
index ecbbbec..9df1041 100644
--- a/tls.c
+++ b/tls.c
@@ -365,6 +365,7 @@ void *tlsservernew(void *arg) {
X509_free(cert);
exit:
+ SSL_shutdown(ssl);
SSL_free(ssl);
ERR_remove_state(0);
shutdown(s, SHUT_RDWR);