projects
/
libradsec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow %hex notation for strings in gconfig
[libradsec.git]
/
dtls.c
diff --git
a/dtls.c
b/dtls.c
index
14c34d3
..
6d605cb
100644
(file)
--- a/
dtls.c
+++ b/
dtls.c
@@
-330,8
+330,10
@@
void *dtlsservernew(void *arg) {
X509_free(cert);
exit:
- SSL_shutdown(ssl);
- SSL_free(ssl);
+ if (ssl) {
+ SSL_shutdown(ssl);
+ SSL_free(ssl);
+ }
pthread_mutex_lock(¶ms->sesscache->mutex);
freebios(params->sesscache->rbios);
params->sesscache->rbios = NULL;