summaryrefslogtreecommitdiff
path: root/dtls.c
diff options
context:
space:
mode:
Diffstat (limited to 'dtls.c')
-rw-r--r--dtls.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dtls.c b/dtls.c
index 0d8da2e..7dc9c72 100644
--- a/dtls.c
+++ b/dtls.c
@@ -285,7 +285,6 @@ void *dtlsserverwr(void *arg) {
/* ssl might have changed while waiting */
pthread_mutex_unlock(&replyq->mutex);
debug(DBG_DBG, "dtlsserverwr: exiting as requested");
- ERR_remove_thread_state(0);
pthread_exit(NULL);
}
}
@@ -407,7 +406,6 @@ exit:
params->sesscache->expiry.tv_sec += delay;
pthread_mutex_unlock(&params->sesscache->mutex);
free(params);
- ERR_remove_thread_state(0);
pthread_exit(NULL);
debug(DBG_DBG, "dtlsservernew: exiting");
}
@@ -664,7 +662,6 @@ void *dtlsclientrd(void *arg) {
}
replyh(server, buf);
}
- ERR_remove_thread_state(0);
server->clientrdgone = 1;
return NULL;
}