gobjectification: 0b949ca1: I think grim added this function to be u...
qulogic at pidgin.im
qulogic at pidgin.im
Sun Jul 11 04:05:42 EDT 2010
----------------------------------------------------------------------
Revision: 0b949ca1cae25b8d4c6c651d9b11045fcce090fb
Parent: b9a2ab409c1de08f513f62c2b2e25e3777548be4
Author: qulogic at pidgin.im
Date: 07/11/10 03:16:40
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/0b949ca1cae25b8d4c6c651d9b11045fcce090fb
Changelog:
I think grim added this function to be used here.
Changes against parent b9a2ab409c1de08f513f62c2b2e25e3777548be4
patched libpurple/cipher/hmaccipher.c
-------------- next part --------------
============================================================
--- libpurple/cipher/hmaccipher.c c6cd8f0a72fe6f0617df4849638a522f395988b5
+++ libpurple/cipher/hmaccipher.c 1af5c26e5466254e3e362a0779b248044a836324
@@ -103,7 +103,7 @@ purple_hmac_cipher_digest(PurpleCipher *
g_return_val_if_fail(PURPLE_IS_CIPHER(priv->hash), FALSE);
- block_size = purple_cipher_get_block_size(priv->hash);
+ block_size = purple_hmac_function_get_block_size(PURPLE_HMAC_FUNCTION(priv->hash));
/* TODO: add class method on PurpleCipher to give us this value */
digest = g_malloc(100);
@@ -144,7 +144,7 @@ purple_hmac_cipher_set_key_with_len(Purp
g_free(priv->opad);
- block_size = purple_cipher_get_block_size(priv->hash);
+ block_size = purple_hmac_function_get_block_size(PURPLE_HMAC_FUNCTION(priv->hash));
ipad = g_malloc(block_size);
priv->opad = g_malloc(block_size);
@@ -190,7 +190,7 @@ purple_hmac_cipher_get_block_size(Purple
priv = PURPLE_HMAC_CIPHER_GET_PRIVATE(cipher);
- return purple_cipher_get_block_size(priv->hash);
+ return purple_hmac_function_get_block_size(PURPLE_HMAC_FUNCTION(priv->hash));
}
/******************************************************************************
More information about the Commits
mailing list