/* Generate key pair */
-bool silc_create_key_pair(const char *pkcs_name,
+SilcBool silc_create_key_pair(const char *pkcs_name,
SilcUInt32 key_len_bits,
const char *pub_filename,
const char *prv_filename,
SilcPKCS *return_pkcs,
SilcPublicKey *return_public_key,
SilcPrivateKey *return_private_key,
- bool interactive)
+ SilcBool interactive)
{
SilcPKCS pkcs;
SilcPublicKey pub_key;
pass = strdup("");
break;
} else {
- bool match;
+ SilcBool match;
printf("\n");
pass2 = silc_get_input("Retype private key passphrase: ", TRUE);
if (!pass2)
/* Load key pair */
-bool silc_load_key_pair(const char *pub_filename,
+SilcBool silc_load_key_pair(const char *pub_filename,
const char *prv_filename,
const char *passphrase,
SilcPKCS *return_pkcs,
/* Dump public key into stdout */
-bool silc_show_public_key(const char *pub_filename)
+SilcBool silc_show_public_key(const char *pub_filename)
{
SilcPublicKey public_key;
SilcPublicKeyIdentifier ident;
/* Change private key passphrase */
-bool silc_change_private_key_passphrase(const char *prv_filename,
+SilcBool silc_change_private_key_passphrase(const char *prv_filename,
const char *old_passphrase,
const char *new_passphrase)
{
SilcPrivateKey private_key;
- bool base64 = FALSE;
+ SilcBool base64 = FALSE;
char *pass;
pass = old_passphrase ? strdup(old_passphrase) : NULL;