From: Dale Woolridge Date: Tue, 13 May 2003 13:06:16 +0000 (+0000) Subject: Fix gpg-agent use. X-Git-Tag: pre-type-punning-patch~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6001f742ffc0d38166cac1c6a4f8f3ae21b59548;p=mutt Fix gpg-agent use. --- diff --git a/crypt.c b/crypt.c index 9cac34c7..72f775dd 100644 --- 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. */