From: venaas Date: Thu, 21 Aug 2008 12:01:27 +0000 (+0000) Subject: minor change for tlsconf X-Git-Tag: radsecproxy-1.4-beta1~181 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=64b8ce46f34b9b7c4f9d3bca4c2d7bed87276db5;p=libradsec.git minor change for tlsconf git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@354 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- diff --git a/radsecproxy.c b/radsecproxy.c index 1eee674..853b594 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3243,8 +3243,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 (!hash_insert(tlsconfs, conf->name, strlen(conf->name), conf)) { + + if (!hash_insert(tlsconfs, val, strlen(val), conf)) { debug(DBG_ERR, "conftls_cb: malloc failed"); goto errexit; }