From bcbd453c52aaa6eaeacfa04dee6a42a6e947a3d5 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 19 Apr 2001 09:39:49 +0000 Subject: [PATCH] Don't try to select the secret key from the public key ring. --- compose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1