diff mcabber/mcabber/xmpp.c @ 2198:1591518a33b9

Minor change of the prototype for fingerprint_to_hex()
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Oct 2015 17:19:15 +0200
parents 189abf03ef24
children 527ba1c1873e
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c	Sun Oct 11 17:17:35 2015 +0200
+++ b/mcabber/mcabber/xmpp.c	Sun Oct 11 17:19:15 2015 +0200
@@ -715,8 +715,7 @@
     break;
   case LM_SSL_STATUS_CERT_FINGERPRINT_MISMATCH: {
       char fpr[49] = {0};
-      fingerprint_to_hex((const unsigned char*)lm_ssl_get_fingerprint(ssl),
-                         fpr);
+      fingerprint_to_hex(lm_ssl_get_fingerprint(ssl), fpr);
       scr_LogPrint(LPRINT_LOGNORM,
                 "Certificate fingerprint does not match expected fingerprint!");
       scr_LogPrint(LPRINT_LOGNORM, "Remote fingerprint: %s", fpr);