diff mcabber/src/main.c @ 1223:591d8b35c881

Disable gpg-agent Disable gpg-agent as it doesn't seem to work very well.
author Mikael Berthe <mikael@lilotux.net>
date Thu, 17 May 2007 10:55:49 +0200
parents 75aee46d3aee
children 80008fe2a4f2
line wrap: on
line diff
--- a/mcabber/src/main.c	Thu May 17 10:44:01 2007 +0200
+++ b/mcabber/src/main.c	Thu May 17 10:55:49 2007 +0200
@@ -247,12 +247,13 @@
 #ifdef HAVE_GPGME
   const char *pk, *pp;
   char *typed_passwd = NULL;
-  char *p;
   bool pgp_invalid = FALSE;
   bool pgp_agent;
+  //char *p;
 
-  p = getenv("GPG_AGENT_INFO");
-  pgp_agent = (p && strchr(p, ':'));
+  //p = getenv("GPG_AGENT_INFO");
+  //pgp_agent = (p && strchr(p, ':'));
+  pgp_agent = FALSE;
 
   pk = settings_opt_get("pgp_private_key");
   pp = settings_opt_get("pgp_passphrase");