]> granicus.if.org Git - neomutt/commitdiff
Use PGP_SECRING to find PGP signing keys. Closes #2878.
authorBrendan Cully <brendan@kublai.com>
Sat, 21 Apr 2007 20:05:49 +0000 (13:05 -0700)
committerBrendan Cully <brendan@kublai.com>
Sat, 21 Apr 2007 20:05:49 +0000 (13:05 -0700)
pgp.c

diff --git a/pgp.c b/pgp.c
index fe142de4df4a97046a71e02a3a899c320b7010c8..66e92948c676add752c9d6be1e8977ae47834aa4 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -1582,7 +1582,7 @@ int pgp_send_menu (HEADER *msg, int *redraw)
   case 3: /* sign (a)s */
     unset_option(OPTPGPCHECKTRUST);
 
-    if ((p = pgp_ask_for_key (_("Sign as: "), NULL, KEYFLAG_CANSIGN, PGP_PUBRING)))
+    if ((p = pgp_ask_for_key (_("Sign as: "), NULL, 0, PGP_SECRING)))
     {
       snprintf (input_signas, sizeof (input_signas), "0x%s",
                 pgp_keyid (p));