diff options
author | Linus Nordberg <linus@nordu.net> | 2016-08-31 15:49:11 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-08-31 15:49:11 +0200 |
commit | 01a9da72ca50d96ac8490c5cdf4dd5e52ffe42b4 (patch) | |
tree | c17ba9e21ad74edb590cffab9601257f79ee6fd9 /dtls.c | |
parent | 45f6867e0f0861fa08fb0dd00e9a394954ac280a (diff) |
Don't call ERR_remove_thread_state().
Not needed as of openssl-1.1, see
https://www.openssl.org/docs/man1.1.0/crypto/ERR_remove_thread_state.html
Diffstat (limited to 'dtls.c')
-rw-r--r-- | dtls.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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(¶ms->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; } |