comparison libpurple/cipher.c @ 23855:e23b447aa5ca

propagate from branch 'im.pidgin.pidgin' (head e3ceb09b71185a9074ce73733f2a65b437c9a545) to branch 'im.pidgin.soc.2008.vv' (head a94b36f0065825b75de573746f680ae616b34f41)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 16 Jul 2008 21:55:08 +0000
parents 951bb9ca9d01
children a6e3cb32cdd2
comparison
equal deleted inserted replaced
23854:517062503b48 23855:e23b447aa5ca
2400 PurpleCipher *cipher = NULL; 2400 PurpleCipher *cipher = NULL;
2401 2401
2402 g_return_val_if_fail(context, FALSE); 2402 g_return_val_if_fail(context, FALSE);
2403 2403
2404 cipher = context->cipher; 2404 cipher = context->cipher;
2405 g_return_val_if_fail(context, FALSE);
2406 2405
2407 if(cipher->ops && cipher->ops->digest) 2406 if(cipher->ops && cipher->ops->digest)
2408 return cipher->ops->digest(context, in_len, digest, out_len); 2407 return cipher->ops->digest(context, in_len, digest, out_len);
2409 else { 2408 else {
2410 purple_debug_info("cipher", "the %s cipher does not support the digest " 2409 purple_debug_info("cipher", "the %s cipher does not support the digest "