diff libpurple/cipher.c @ 23555:951bb9ca9d01

This check is duplicated three lines above. It was probably intended to check cipher, but the failure is basically impossible as currently coded so I'm just going to remove the check.
author Mark Doliner <mark@kingant.net>
date Wed, 16 Jul 2008 09:11:03 +0000
parents 76e0463db3aa
children a6e3cb32cdd2
line wrap: on
line diff
--- a/libpurple/cipher.c	Wed Jul 16 03:53:28 2008 +0000
+++ b/libpurple/cipher.c	Wed Jul 16 09:11:03 2008 +0000
@@ -2402,7 +2402,6 @@
 	g_return_val_if_fail(context, FALSE);
 
 	cipher = context->cipher;
-	g_return_val_if_fail(context, FALSE);
 
 	if(cipher->ops && cipher->ops->digest)
 		return cipher->ops->digest(context, in_len, digest, out_len);