summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 94149db..eebfe1e 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2460,6 +2460,7 @@ void *tlsservernew(void *arg) {
X509_free(cert);
exit:
+ SSL_shutdown(ssl);
SSL_free(ssl);
ERR_remove_state(0);
shutdown(s, SHUT_RDWR);