/pidgin/main: aa438289bffe: ciphers: fix typo

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Thu May 9 06:55:37 EDT 2013


Changeset: aa438289bffebef8685bfa3db8db82c9cd39c015
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-05-09 12:55 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/aa438289bffe

Description:

ciphers: fix typo

diffstat:

 libpurple/cipher.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/cipher.c b/libpurple/cipher.c
--- a/libpurple/cipher.c
+++ b/libpurple/cipher.c
@@ -512,7 +512,7 @@ purple_cipher_context_encrypt(PurpleCiph
 	g_return_val_if_fail(context != NULL, -1);
 	g_return_val_if_fail(input != NULL, -1);
 	g_return_val_if_fail(output != NULL, -1);
-	g_return_val_if_fail(out_size < in_len, -1);
+	g_return_val_if_fail(out_size >= in_len, -1);
 
 	cipher = context->cipher;
 	g_return_val_if_fail(cipher, -1);



More information about the Commits mailing list