changeset 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 43a3c8a6d103
children ba6c7c2c2629
files mcabber/src/jabglue.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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