X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserverconfig.c;h=0bd9ab57861f6b2acc6dc33489b0c366e2ed1480;hb=fde8aa8c7b1952d14fe9275ae36836fe995ea943;hp=39f00afe0d912ecf5d759d054d319f245b07daff;hpb=4c0b87583da634b12c5745baa19c7ec42e30376c;p=silc.git diff --git a/apps/silcd/serverconfig.c b/apps/silcd/serverconfig.c index 39f00afe..0bd9ab57 100644 --- a/apps/silcd/serverconfig.c +++ b/apps/silcd/serverconfig.c @@ -536,9 +536,9 @@ SILC_CONFIG_CALLBACK(fetch_serverinfo) /* try to load specified file, if fail stop config parsing */ if (!silc_pkcs_load_private_key(file_tmp, &server_info->private_key, - SILC_PKCS_FILE_BIN)) + "", 0, SILC_PKCS_FILE_BIN)) if (!silc_pkcs_load_private_key(file_tmp, &server_info->private_key, - SILC_PKCS_FILE_PEM)) { + "", 0, SILC_PKCS_FILE_PEM)) { SILC_SERVER_LOG_ERROR(("Error: Could not load private key file.")); return SILC_CONFIG_EPRINTLINE; } @@ -1202,11 +1202,11 @@ static const SilcConfigTable table_routerconn[] = { }; static const SilcConfigTable table_main[] = { - { "general", SILC_CONFIG_ARG_BLOCK, NULL, table_general }, { "cipher", SILC_CONFIG_ARG_BLOCK, fetch_cipher, table_cipher }, { "hash", SILC_CONFIG_ARG_BLOCK, fetch_hash, table_hash }, { "hmac", SILC_CONFIG_ARG_BLOCK, fetch_hmac, table_hmac }, { "pkcs", SILC_CONFIG_ARG_BLOCK, fetch_pkcs, table_pkcs }, + { "general", SILC_CONFIG_ARG_BLOCK, NULL, table_general }, { "serverinfo", SILC_CONFIG_ARG_BLOCK, fetch_serverinfo, table_serverinfo }, { "logging", SILC_CONFIG_ARG_BLOCK, NULL, table_logging }, { "connectionparams", SILC_CONFIG_ARG_BLOCK, fetch_connparam, table_connparam },