comparison libpurple/protocols/jabber/jutil.h @ 30031:9f59abd49def

jabber: Validate the hash on incoming BoB objects (in case the CID is on the form algo+hash@bob.xmpp.org).
author Marcus Lundblad <ml@update.uu.se>
date Mon, 22 Mar 2010 21:34:17 +0000
parents 73e4c14921e4
children
comparison
equal deleted inserted replaced
30030:ffb8cd9fb528 30031:9f59abd49def
83 /* core id -> state */ 83 /* core id -> state */
84 JabberBuddyState jabber_buddy_status_id_get_state(const char *id); 84 JabberBuddyState jabber_buddy_status_id_get_state(const char *id);
85 /* show attr (presence stanza) -> state */ 85 /* show attr (presence stanza) -> state */
86 JabberBuddyState jabber_buddy_show_get_state(const char *id); 86 JabberBuddyState jabber_buddy_show_get_state(const char *id);
87 87
88 char *jabber_calculate_data_sha1sum(gconstpointer data, size_t len); 88 char *jabber_calculate_data_hash(gconstpointer data, size_t len,
89 const gchar *hash_algo);
89 #endif /* PURPLE_JABBER_JUTIL_H_ */ 90 #endif /* PURPLE_JABBER_JUTIL_H_ */