summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-22 10:51:10 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-22 10:51:10 +0000
commita44302539f584d2f53caf84122f565f069d151c4 (patch)
tree7fd3740467bfe88138f71c45cb02bf8a76a8b049 /radsecproxy.c
parentef257555117ffb19baf02e593d3ff65157f0c927 (diff)
added shutdown when server terminates tls connection
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@357 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-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);