]> granicus.if.org Git - mutt/commitdiff
Don't try to select the secret key from the public key ring.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 19 Apr 2001 09:39:49 +0000 (09:39 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 19 Apr 2001 09:39:49 +0000 (09:39 +0000)
compose.c

index 59ce80fe27e9cbba9497467b545aa6b74ad55646..0e7f64809b8016d137455f96cc1b64e7248cdf87 100644 (file)
--- 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);