summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-14 12:32:25 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-14 12:32:25 +0000
commitff253938ad9e1181065b53e32133df3ca18036e1 (patch)
tree66ec99bcac2d25f839deac3840e6a4597f20fce8 /radsecproxy.c
parent3e3db188f9c4743438153aee34efee38dd2c038d (diff)
fixing a minor SSL related issue
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@339 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index e8b5f2d..0311029 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2571,7 +2571,7 @@ void *tlsclientrd(void *arg) {
}
}
}
- ERR_remove_state();
+ ERR_remove_state(0);
server->clientrdgone = 1;
return NULL;
}
@@ -2765,7 +2765,7 @@ void *clientwr(void *arg) {
freeclsrvconf(conf);
}
freeserver(server, 1);
- ERR_remove_state();
+ ERR_remove_state(0);
return NULL;
}
@@ -2824,7 +2824,7 @@ void *tlsserverwr(void *arg) {
/* ssl might have changed while waiting */
pthread_mutex_unlock(&replyq->mutex);
debug(DBG_DBG, "tlsserverwr: exiting as requested");
- ERR_remove_state();
+ ERR_remove_state(0);
pthread_exit(NULL);
}
}
@@ -2933,7 +2933,7 @@ void *tlsservernew(void *arg) {
exit:
SSL_free(ssl);
- ERR_remove_state();
+ ERR_remove_state(0);
shutdown(s, SHUT_RDWR);
close(s);
pthread_exit(NULL);