From 0c6e23211da30daf0cb75549362b16dce279f0a8 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 25 Sep 2008 05:53:41 +0000 Subject: 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 --- radsecproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.1