--- a/libpurple/protocols/jabber/caps.h Sat Jun 15 01:57:14 2013 +0530 +++ b/libpurple/protocols/jabber/caps.h Sat Jun 15 14:28:31 2013 +0530 @@ -27,6 +27,7 @@ typedef struct _JabberCapsClientInfo JabberCapsClientInfo; #include "jabber.h" +#include "cipher.h" /* Implementation of XEP-0115 - Entity Capabilities */ @@ -98,7 +99,7 @@ * @param hash Hash cipher to be used. Either sha-1 or md5. * @return The base64 encoded SHA-1 hash; must be freed by caller */ -gchar *jabber_caps_calculate_hash(JabberCapsClientInfo *info, const char *hash); +gchar *jabber_caps_calculate_hash(JabberCapsClientInfo *info, PurpleCipher *hash); /** * Calculate SHA1 hash for own featureset.