Mercurial > pidgin
diff libpurple/cipher.c @ 27231:627d23bfdb05
Increase the logging level of some debugging messages that seemed to be a
bit more important than "informational". From a patch by Mauro but with
additional changes recommended by rekkanoryo.
Fixes #8751.
committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author | mauro.brasil@tqi.com.br |
---|---|
date | Thu, 02 Jul 2009 04:26:00 +0000 |
parents | 8487bf2c306e |
children | fc5508709e74 |
line wrap: on
line diff
--- a/libpurple/cipher.c Thu Jul 02 01:33:11 2009 +0000 +++ b/libpurple/cipher.c Thu Jul 02 04:26:00 2009 +0000 @@ -2379,7 +2379,7 @@ g_return_val_if_fail(cipher, FALSE); if(!cipher->ops->append || !cipher->ops->digest) { - purple_debug_info("cipher", "purple_cipher_region failed: " + purple_debug_warning("cipher", "purple_cipher_region failed: " "the %s cipher does not support appending and or " "digesting.", cipher->name); return FALSE; @@ -2527,7 +2527,7 @@ if(cipher->ops && cipher->ops->set_option) cipher->ops->set_option(context, name, value); else - purple_debug_info("cipher", "the %s cipher does not support the " + purple_debug_warning("cipher", "the %s cipher does not support the " "set_option operation\n", cipher->name); } @@ -2544,7 +2544,7 @@ if(cipher->ops && cipher->ops->get_option) return cipher->ops->get_option(context, name); else { - purple_debug_info("cipher", "the %s cipher does not support the " + purple_debug_warning("cipher", "the %s cipher does not support the " "get_option operation\n", cipher->name); return NULL; @@ -2627,7 +2627,7 @@ if(cipher->ops && cipher->ops->set_iv) cipher->ops->set_iv(context, iv, len); else - purple_debug_info("cipher", "the %s cipher does not support the set" + purple_debug_warning("cipher", "the %s cipher does not support the set" "initialization vector operation\n", cipher->name); } @@ -2645,7 +2645,7 @@ if(cipher->ops && cipher->ops->append) cipher->ops->append(context, data, len); else - purple_debug_info("cipher", "the %s cipher does not support the append " + purple_debug_warning("cipher", "the %s cipher does not support the append " "operation\n", cipher->name); } @@ -2662,7 +2662,7 @@ if(cipher->ops && cipher->ops->digest) return cipher->ops->digest(context, in_len, digest, out_len); else { - purple_debug_info("cipher", "the %s cipher does not support the digest " + purple_debug_warning("cipher", "the %s cipher does not support the digest " "operation\n", cipher->name); return FALSE; } @@ -2712,7 +2712,7 @@ if(cipher->ops && cipher->ops->encrypt) return cipher->ops->encrypt(context, data, len, output, outlen); else { - purple_debug_info("cipher", "the %s cipher does not support the encrypt" + purple_debug_warning("cipher", "the %s cipher does not support the encrypt" "operation\n", cipher->name); if(outlen) @@ -2736,7 +2736,7 @@ if(cipher->ops && cipher->ops->decrypt) return cipher->ops->decrypt(context, data, len, output, outlen); else { - purple_debug_info("cipher", "the %s cipher does not support the decrypt" + purple_debug_warning("cipher", "the %s cipher does not support the decrypt" "operation\n", cipher->name); if(outlen) @@ -2758,7 +2758,7 @@ if(cipher->ops && cipher->ops->set_salt) cipher->ops->set_salt(context, salt); else - purple_debug_info("cipher", "the %s cipher does not support the " + purple_debug_warning("cipher", "the %s cipher does not support the " "set_salt operation\n", cipher->name); } @@ -2774,7 +2774,7 @@ if(cipher->ops && cipher->ops->get_salt_size) return cipher->ops->get_salt_size(context); else { - purple_debug_info("cipher", "the %s cipher does not support the " + purple_debug_warning("cipher", "the %s cipher does not support the " "get_salt_size operation\n", cipher->name); return -1; @@ -2793,7 +2793,7 @@ if(cipher->ops && cipher->ops->set_key) cipher->ops->set_key(context, key); else - purple_debug_info("cipher", "the %s cipher does not support the " + purple_debug_warning("cipher", "the %s cipher does not support the " "set_key operation\n", cipher->name); } @@ -2809,7 +2809,7 @@ if(cipher->ops && cipher->ops->get_key_size) return cipher->ops->get_key_size(context); else { - purple_debug_info("cipher", "the %s cipher does not support the " + purple_debug_warning("cipher", "the %s cipher does not support the " "get_key_size operation\n", cipher->name); return -1; @@ -2830,7 +2830,7 @@ if(cipher->ops && cipher->ops->set_batch_mode) cipher->ops->set_batch_mode(context, mode); else - purple_debug_info("cipher", "The %s cipher does not support the " + purple_debug_warning("cipher", "The %s cipher does not support the " "set_batch_mode operation\n", cipher->name); } @@ -2847,7 +2847,7 @@ if(cipher->ops && cipher->ops->get_batch_mode) return cipher->ops->get_batch_mode(context); else { - purple_debug_info("cipher", "The %s cipher does not support the " + purple_debug_warning("cipher", "The %s cipher does not support the " "get_batch_mode operation\n", cipher->name); return -1; } @@ -2866,7 +2866,7 @@ if(cipher->ops && cipher->ops->get_block_size) return cipher->ops->get_block_size(context); else { - purple_debug_info("cipher", "The %s cipher does not support the " + purple_debug_warning("cipher", "The %s cipher does not support the " "get_block_size operation\n", cipher->name); return -1; } @@ -2886,7 +2886,7 @@ if(cipher->ops && cipher->ops->set_key_with_len) cipher->ops->set_key_with_len(context, key, len); else - purple_debug_info("cipher", "The %s cipher does not support the " + purple_debug_warning("cipher", "The %s cipher does not support the " "set_key_with_len operation\n", cipher->name); }