summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-25 05:53:41 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-25 05:53:41 +0000
commitbf093fa8a4f8891f679087df5a747d45408c5010 (patch)
tree35c5571bf8a80fe948994a0ad7b3a8dd75799cc1
parent8d216ea2e04ef62540d3d2b46686bd1064fc781f (diff)
work around to check tls blocks at startup
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@406 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 55be451..8baa810 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -3367,7 +3367,8 @@ int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *v
debug(DBG_ERR, "conftls_cb: malloc failed");
goto errexit;
}
-
+ if (!tlsgetctx(RAD_TLS, conf))
+ debug(DBG_ERR, "conftls_cb: error creating ctx for TLS block %s", val);
debug(DBG_DBG, "conftls_cb: added TLS block %s", val);
return 1;