changeset 23600: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 73f61c445827
children d3fad795bba5
files libpurple/cipher.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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);