diff options
author | venaas <venaas> | 2008-09-13 07:30:36 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-09-13 07:30:36 +0000 |
commit | 029876091ac4c02b68ac09c882c96859098ca043 (patch) | |
tree | 3d3e19ac4964761523f5b181b210c9d5967a2450 /radsecproxy.c | |
parent | 46dc270ca4fcb0f23ac92d32d54b1eb8f726b70a (diff) |
allow %hex notation for strings in gconfig
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@376 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 16a1593..dc495cd 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2550,8 +2550,10 @@ void *tlsservernew(void *arg) { X509_free(cert); exit: - SSL_shutdown(ssl); - SSL_free(ssl); + if (ssl) { + SSL_shutdown(ssl); + SSL_free(ssl); + } ERR_remove_state(0); shutdown(s, SHUT_RDWR); close(s); |