Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/utils.h @ 2197:189abf03ef24
Fix fingerprint management
(Reported by Sven Gaerner in issue #134)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2015 17:17:35 +0200 |
parents | 1210a22726d3 |
children | 1591518a33b9 |
line wrap: on
line diff
--- a/mcabber/mcabber/utils.h Wed Oct 07 21:58:38 2015 +0200 +++ b/mcabber/mcabber/utils.h Sun Oct 11 17:17:35 2015 +0200 @@ -21,8 +21,8 @@ const char *resource); gboolean jid_equal(const char *jid1, const char *jid2); -void fingerprint_to_hex(const unsigned char *fpr, char hex[49]); -gboolean hex_to_fingerprint(const char * hex, char fpr[16]); +void fingerprint_to_hex(const unsigned char *fpr, char hex[48]); +gboolean hex_to_fingerprint(const char *hex, char fpr[17]); void ut_init_debug(void); void ut_write_log(unsigned int flag, const char *data);