--- a/libpurple/ciphers/hmac.c Fri Jun 14 22:03:31 2013 +0530 +++ b/libpurple/ciphers/hmac.c Fri Jun 14 22:21:53 2013 +0530 @@ -214,6 +214,12 @@ return purple_hmac_cipher_get_block_size(priv->hash); } +static const gchar* +purple_hmac_cipher_get_name(PurpleCipher *cipher) +{ + return "hmac"; +} + /****************************************************************************** * Object Stuff *****************************************************************************/ @@ -284,6 +290,7 @@ cipher_class->get_digest_size = purple_hmac_cipher_get_digest_size; cipher_class->set_key = purple_hmac_cipher_set_key; cipher_class->get_block_size = purple_hmac_cipher_get_block_size; + cipher_class->get_name = purple_hmac_cipher_get_name; pspec = g_param_spec_object("hash", "hash", "hash", PURPLE_TYPE_CIPHER, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);