Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/utils.c @ 2248:377b6a52b25f
Prepare for loudmouth with sha256 support (>=1.5.3)
author | franky |
---|---|
date | Sat, 13 Feb 2016 11:05:07 +0100 |
parents | 170597f5365b |
children | 5a107c907e71 |
line wrap: on
line diff
--- a/mcabber/mcabber/utils.c Wed Feb 10 23:15:20 2016 +0100 +++ b/mcabber/mcabber/utils.c Sat Feb 13 11:05:07 2016 +0100 @@ -155,6 +155,7 @@ return g_strdup(fname); } +#ifndef LOUDMOUTH_USES_SHA256 // fingerprint_to_hex(fprstr, hex, fpr_len) // Convert the binary fingerprint fprstr (which is fpr_len bytes long) // to a NULL-terminated hexadecimal string hex. @@ -199,6 +200,7 @@ } return TRUE; } +#endif static gboolean tracelog_create(void) {