comparison libpurple/protocols/jabber/jutil.h @ 24641:61e0924de04a

Fix up the XMPP User Avatar SHA1 hashing so that we don't mess up the checksum when bytes in the checksum start with 0 (for example, 430902... would become 4392...). Refs #7734, which has a second patch needing more detailed review. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Paul Aurich <paul@darkrain42.org>
date Thu, 11 Dec 2008 08:08:02 +0000
parents f5c2f047acae
children 5767b7698c73
comparison
equal deleted inserted replaced
24640:915b1cafa3d1 24641:61e0924de04a
40 gboolean jabber_nameprep_validate(const char *); 40 gboolean jabber_nameprep_validate(const char *);
41 gboolean jabber_resourceprep_validate(const char *); 41 gboolean jabber_resourceprep_validate(const char *);
42 42
43 PurpleConversation *jabber_find_unnormalized_conv(const char *name, PurpleAccount *account); 43 PurpleConversation *jabber_find_unnormalized_conv(const char *name, PurpleAccount *account);
44 44
45 char *jabber_calculate_data_sha1sum(gconstpointer data, size_t len);
45 #endif /* _PURPLE_JABBER_JUTIL_H_ */ 46 #endif /* _PURPLE_JABBER_JUTIL_H_ */