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/trunk@406 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index 55be451..8baa810 100644 (file)
@@ -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;