summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-21 12:01:27 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-21 12:01:27 +0000
commit64b8ce46f34b9b7c4f9d3bca4c2d7bed87276db5 (patch)
treea2076ec7c8cd5bc653844a24cd4c730ca40f38b7
parent1e644137c84f95ac4c3701ee765e637cae55f4fd (diff)
minor change for tlsconf
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@354 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
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;
}