From: Brendan Cully Date: Sat, 21 Apr 2007 20:05:49 +0000 (-0700) Subject: Use PGP_SECRING to find PGP signing keys. Closes #2878. X-Git-Tag: mutt-1-5-16-rel~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=178ed0b045d5e37c817a8cfb482c91f1434f9505;p=mutt Use PGP_SECRING to find PGP signing keys. Closes #2878. --- diff --git a/pgp.c b/pgp.c index fe142de4..66e92948 100644 --- 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));