Commit 69a0d3ae authored by venaas's avatar venaas Committed by venaas

allow %hex notation for strings in gconfig

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@376 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent a1ea5fc1
......@@ -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(&params->sesscache->mutex);
freebios(params->sesscache->rbios);
params->sesscache->rbios = NULL;
......
......@@ -365,8 +365,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment