]> granicus.if.org Git - mutt/commitdiff
Fix gpg-agent use.
authorDale Woolridge <dale-list-mutt-dev-2@woolridge.org>
Tue, 13 May 2003 13:06:16 +0000 (13:06 +0000)
committerDale Woolridge <dale-list-mutt-dev-2@woolridge.org>
Tue, 13 May 2003 13:06:16 +0000 (13:06 +0000)
crypt.c

diff --git a/crypt.c b/crypt.c
index 9cac34c74eefed5409ee06ccce551afe40a83d91..72f775dd07354d1d2e411fec85023dd396890d49 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -120,7 +120,7 @@ int crypt_valid_passphrase(int flags)
     if (pgp_use_gpg_agent())
     {
       *PgpPass = 0;
-      return 0; /* handled by gpg-agent */
+      return 1; /* handled by gpg-agent */
     }
 
     if (now < PgpExptime) return 1; /* just use the cached copy. */