Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2001 - 2007 Pekka Riikonen
+ Copyright (C) 2001 - 2014 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
silc_cipher_register_default();
silc_client_list_ciphers();
exit(0);
- return true;
+ return TRUE;
}
static gboolean list_hash_funcs(const gchar *option_name, const gchar *value,
silc_hash_register_default();
silc_client_list_hash_funcs();
exit(0);
- return true;
+ return TRUE;
}
static gboolean list_hmacs(const gchar *option_name, const gchar *value,
silc_hmac_register_default();
silc_client_list_hmacs();
exit(0);
- return true;
+ return TRUE;
}
static gboolean list_pkcs(const gchar *option_name, const gchar *value,
silc_pkcs_register_default();
silc_client_list_pkcs();
exit(0);
- return true;
+ return TRUE;
}
#ifdef SILC_DEBUG
silc_log_debug(TRUE);
silc_log_debug_hexdump(TRUE);
silc_log_set_debug_string((char *)value);
- return true;
+ return TRUE;
}
#else
static gboolean enable_debug(const gchar *option_name, const gchar *value,
"Run-time debugging is not enabled. To enable it recompile\n"
"the client with --enable-debug configuration option.\n");
sleep(1);
- return true;
+ return TRUE;
}
#endif /* SILC_DEBUG */
silc_create_key_pair(opt_pkcs, opt_bits, NULL, NULL, NULL, NULL,
NULL, NULL, TRUE);
exit(0);
- return true;
+ return TRUE;
}
static gboolean change_passphrase(const gchar *option_name, const gchar *value,
silc_hmac_register_default();
silc_change_private_key_passphrase((char *)value, NULL, NULL);
exit(0);
- return true;
+ return TRUE;
}
static gboolean show_key(const gchar *option_name, const gchar *value,
silc_hmac_register_default();
silc_show_public_key_file((char *)value);
exit(0);
- return true;
+ return TRUE;
}
#endif /* !SILC_PLUGIN */