From: Thomas Roessler Date: Thu, 19 Apr 2001 09:39:49 +0000 (+0000) Subject: Don't try to select the secret key from the public key ring. X-Git-Tag: mutt-1-3-18-rel~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcbd453c52aaa6eaeacfa04dee6a42a6e947a3d5;p=mutt Don't try to select the secret key from the public key ring. --- diff --git a/compose.c b/compose.c index 59ce80fe..0e7f6480 100644 --- a/compose.c +++ b/compose.c @@ -144,7 +144,7 @@ static int pgp_send_menu (int bits, int *redraw) 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, KEYFLAG_CANSIGN, PGP_SECRING))) { snprintf (input_signas, sizeof (input_signas), "0x%s", pgp_keyid (p)); mutt_str_replace (&PgpSignAs, input_signas);