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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4da782fbb8886a2fc086cffcf459b2ddc64f9fe;p=neomutt Use PGP_SECRING to find PGP signing keys. Closes #2878. --- diff --git a/pgp.c b/pgp.c index fe142de4d..66e92948c 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));