projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
apps
/
silcd
/
serverconfig.c
diff --git
a/apps/silcd/serverconfig.c
b/apps/silcd/serverconfig.c
index 23e1b58ee93fe240adbffa12a09b714f4074c14c..7cb2a9e5495c47d8ee8bb83e8c1d99464e442314 100644
(file)
--- a/
apps/silcd/serverconfig.c
+++ b/
apps/silcd/serverconfig.c
@@
-96,7
+96,7
@@
SILC_CONFIG_CALLBACK(fetch_generic)
{
SilcServerConfig config = (SilcServerConfig) context;
{
SilcServerConfig config = (SilcServerConfig) context;
- if (!strcmp(name, "modulepath")) {
+ if (!strcmp(name, "module
_
path")) {
if (config->module_path)
return SILC_CONFIG_EDOUBLE;
if (config->module_path)
return SILC_CONFIG_EDOUBLE;
@@
-147,9
+147,9
@@
SILC_CONFIG_CALLBACK(fetch_cipher)
/* dup it only if non-empty, otherwise point it to NULL */
tmp->module = (*(char *)val ? strdup((char *) val) : NULL);
}
/* dup it only if non-empty, otherwise point it to NULL */
tmp->module = (*(char *)val ? strdup((char *) val) : NULL);
}
- else if (!strcmp(name, "key
_
length"))
+ else if (!strcmp(name, "keylength"))
tmp->key_length = *(uint32 *)val;
tmp->key_length = *(uint32 *)val;
- else if (!strcmp(name, "block
_
length"))
+ else if (!strcmp(name, "blocklength"))
tmp->block_length = *(uint32 *)val;
else
return SILC_CONFIG_EINTERNAL;
tmp->block_length = *(uint32 *)val;
else
return SILC_CONFIG_EINTERNAL;
@@
-198,9
+198,9
@@
SILC_CONFIG_CALLBACK(fetch_hash)
/* dup it only if non-empty, otherwise point it to NULL */
tmp->module = (*(char *)val ? strdup((char *) val) : NULL);
}
/* dup it only if non-empty, otherwise point it to NULL */
tmp->module = (*(char *)val ? strdup((char *) val) : NULL);
}
- else if (!strcmp(name, "block
_
length"))
+ else if (!strcmp(name, "blocklength"))
tmp->block_length = *(int *)val;
tmp->block_length = *(int *)val;
- else if (!strcmp(name, "digest
_
length"))
+ else if (!strcmp(name, "digestlength"))
tmp->digest_length = *(int *)val;
else
return SILC_CONFIG_EINTERNAL;
tmp->digest_length = *(int *)val;
else
return SILC_CONFIG_EINTERNAL;
@@
-248,7
+248,7
@@
SILC_CONFIG_CALLBACK(fetch_hmac)
if (tmp->hash) { got_errno = SILC_CONFIG_EDOUBLE; goto got_err; }
tmp->hash = strdup((char *) val);
}
if (tmp->hash) { got_errno = SILC_CONFIG_EDOUBLE; goto got_err; }
tmp->hash = strdup((char *) val);
}
- else if (!strcmp(name, "mac
_
length"))
+ else if (!strcmp(name, "maclength"))
tmp->mac_length = *(int *)val;
else
return SILC_CONFIG_EINTERNAL;
tmp->mac_length = *(int *)val;
else
return SILC_CONFIG_EINTERNAL;