minor change for tlsconf
authorvenaas <venaas>
Thu, 21 Aug 2008 12:01:27 +0000 (12:01 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Thu, 21 Aug 2008 12:01:27 +0000 (12:01 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@354 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index 1eee674..853b594 100644 (file)
@@ -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;
     }