work around to check tls blocks at startup
[libradsec.git] / 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;