summaryrefslogtreecommitdiffstats
path: root/crypt-gpgme.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-03-26 18:31:43 -0700
committerKevin McCarthy <kevin@8t8.us>2017-03-26 18:31:43 -0700
commit1a956977d926bd9132479e97e62065baea7a0d90 (patch)
tree895733c5e32efaf8d87aaaf380e776531acfe20c /crypt-gpgme.c
parent95070a7016d7334ac1d4e664e42afcfdcd96dc1f (diff)
Remove redraw parameter from crypt send_menus.
The parameter was used to notify the caller if the sign (a)s menu was invoked, which displayed the key selection menu. This is no longer necessary with the menu stack pop operation.
Diffstat (limited to 'crypt-gpgme.c')
-rw-r--r--crypt-gpgme.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/crypt-gpgme.c b/crypt-gpgme.c
index 7b010d0f..0c71c2f6 100644
--- a/crypt-gpgme.c
+++ b/crypt-gpgme.c
@@ -4701,7 +4701,7 @@ void smime_gpgme_init (void)
init_smime ();
}
-static int gpgme_send_menu (HEADER *msg, int *redraw, int is_smime)
+static int gpgme_send_menu (HEADER *msg, int is_smime)
{
crypt_key_t *p;
char input_signas[SHORT_STRING];
@@ -4806,7 +4806,6 @@ static int gpgme_send_menu (HEADER *msg, int *redraw, int is_smime)
msg->security |= SIGN;
}
- *redraw = REDRAW_FULL;
break;
case 'b': /* (b)oth */
@@ -4853,14 +4852,14 @@ static int gpgme_send_menu (HEADER *msg, int *redraw, int is_smime)
return (msg->security);
}
-int pgp_gpgme_send_menu (HEADER *msg, int *redraw)
+int pgp_gpgme_send_menu (HEADER *msg)
{
- return gpgme_send_menu (msg, redraw, 0);
+ return gpgme_send_menu (msg, 0);
}
-int smime_gpgme_send_menu (HEADER *msg, int *redraw)
+int smime_gpgme_send_menu (HEADER *msg)
{
- return gpgme_send_menu (msg, redraw, 1);
+ return gpgme_send_menu (msg, 1);
}
static int verify_sender (HEADER *h, gpgme_protocol_t protocol)