diff mcabber/src/jabglue.c @ 1194:03d8fafe8104

Remove a warning when gpgme is disabled
author Mikael Berthe <mikael@lilotux.net>
date Sat, 21 Apr 2007 15:10:57 +0200
parents c4da23bf8958
children 6f602d3270a4
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Sat Apr 21 14:25:56 2007 +0200
+++ b/mcabber/src/jabglue.c	Sat Apr 21 15:10:57 2007 +0200
@@ -1511,6 +1511,7 @@
                  "Warning: you're not connected to the server.");
 }
 
+#ifdef HAVE_GPGME
 //  keys_mismatch(key, expectedkey)
 // Return TRUE if both keys are non-null and "expectedkey" doesn't match
 // the end of "key".
@@ -1538,6 +1539,7 @@
 
   return strcasecmp(key, expectedkey);
 }
+#endif
 
 //  check_signature(barejid, resourcename, xmldata, text)
 // Verify the signature (in xmldata) of "text" for the contact