# HG changeset patch # User Mark Doliner # Date 1216199463 0 # Node ID 951bb9ca9d0126e40a17c9a8e5363e0220e6a9db # Parent 73f61c4458278fef939ea8f099cb4993ae823878 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. diff -r 73f61c445827 -r 951bb9ca9d01 libpurple/cipher.c --- 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);