summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-04-19 09:39:49 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-04-19 09:39:49 +0000
commitbcbd453c52aaa6eaeacfa04dee6a42a6e947a3d5 (patch)
treea260eb124f233d7d14657cb292b221efe5de562a /compose.c
parentab49677b0be1df82222e75f176fec631e8714f73 (diff)
Don't try to select the secret key from the public key ring.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c2
1 files changed, 1 insertions, 1 deletions
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);