summaryrefslogtreecommitdiff
path: root/radsecproxy.c
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
commit0c6e23211da30daf0cb75549362b16dce279f0a8 (patch)
treecbcc34e28eee79cf6b7761642e2d5cd4c636cc7b /radsecproxy.c
parentd2976ee67271e35d6d46c1478277a6717f13d9e0 (diff)
work around to check tls blocks at startup
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@406 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index c9980e4..ff7a19a 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -3309,7 +3309,8 @@ void conftls_cb(struct gconffile **cf, char *block, char *opt, char *val) {
conf->name = stringcopy(val, 0);
if (!conf->name || !list_push(tlsconfs, conf))
debugx(1, DBG_ERR, "conftls_cb: malloc failed");
-
+ if (!tlsgetctx(conf))
+ debug(DBG_ERR, "conftls_cb: error creating ctx for TLS block %s", val);
debug(DBG_DBG, "conftls_cb: added TLS block %s", val);
}