work around to check tls blocks at startup
authorvenaas <venaas>
Thu, 25 Sep 2008 05:53:41 +0000 (05:53 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Thu, 25 Sep 2008 05:53:41 +0000 (05:53 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@406 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index c9980e4..ff7a19a 100644 (file)
@@ -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);
 }