static int
silc_server_create_key_pair(char *pkcs_name, int bits, char *path,
char *identifier,
SilcPublicKey *ret_pub_key,
SilcPrivateKey *ret_prv_key);
static int
silc_server_create_key_pair(char *pkcs_name, int bits, char *path,
char *identifier,
SilcPublicKey *ret_pub_key,
SilcPrivateKey *ret_prv_key);
/* Long command line options */
static struct option long_opts[] =
{
{ "config-file", 1, NULL, 'f' },
/* Long command line options */
static struct option long_opts[] =
{
{ "config-file", 1, NULL, 'f' },
{ "debug", 1, NULL, 'd' },
{ "help", 0, NULL, 'h' },
{ "foreground", 0, NULL, 'F' },
{ "debug", 1, NULL, 'd' },
{ "help", 0, NULL, 'h' },
{ "foreground", 0, NULL, 'F' },
fprintf(stderr, "Please change the config file, or erase the %s\n",
silcd->config->server_info->pid_file);
exit(1);
fprintf(stderr, "Please change the config file, or erase the %s\n",
silcd->config->server_info->pid_file);
exit(1);
- while ((opt = getopt_long(argc, argv, "cf:d:hFVC:",
+ while ((opt = getopt_long(argc, argv, "f:d:hFVC:",
{
char *username = NULL, *realname = NULL;
char hostname[256], email[256];
{
char *username = NULL, *realname = NULL;
char hostname[256], email[256];