summaryrefslogtreecommitdiffstats
path: root/pgp.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 /pgp.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 'pgp.c')
-rw-r--r--pgp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pgp.c b/pgp.c
index 6a6f3c91..a531c1f2 100644
--- a/pgp.c
+++ b/pgp.c
@@ -1698,7 +1698,7 @@ BODY *pgp_traditional_encryptsign (BODY *a, int flags, char *keylist)
return b;
}
-int pgp_send_menu (HEADER *msg, int *redraw)
+int pgp_send_menu (HEADER *msg)
{
pgp_key_t p;
char input_signas[SHORT_STRING];
@@ -1826,7 +1826,6 @@ int pgp_send_menu (HEADER *msg, int *redraw)
crypt_pgp_void_passphrase (); /* probably need a different passphrase */
}
- *redraw = REDRAW_FULL;
break;
case 'b': /* (b)oth */