summaryrefslogtreecommitdiffstats
path: root/crypt-mod-pgp-gpgme.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-02-02 15:10:34 -0800
committerKevin McCarthy <kevin@8t8.us>2020-02-29 19:15:09 -0800
commitd3d0f3a23dfac4c326f68cdc99430858e2572198 (patch)
treefaa1006c1849b63f3cd4ac47d32a7cadecc0d3ec /crypt-mod-pgp-gpgme.c
parent093cc268e9e812ca647f6edfcf8028dff9b62650 (diff)
Change send_menus to set sctx instead of globals.
Add a "cleared" bit for smime_crypt_alg. Otherwise clearing the value in smime.c's menu would cause the compose menu and mutt_protect() to fall back to using SmimeCryptAlg.
Diffstat (limited to 'crypt-mod-pgp-gpgme.c')
-rw-r--r--crypt-mod-pgp-gpgme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt-mod-pgp-gpgme.c b/crypt-mod-pgp-gpgme.c
index b2eb6377..4b016123 100644
--- a/crypt-mod-pgp-gpgme.c
+++ b/crypt-mod-pgp-gpgme.c
@@ -85,9 +85,9 @@ static int crypt_mod_pgp_verify_one (BODY *sigbdy, STATE *s, const char *tempf)
return pgp_gpgme_verify_one (sigbdy, s, tempf);
}
-static int crypt_mod_pgp_send_menu (HEADER *msg)
+static void crypt_mod_pgp_send_menu (SEND_CONTEXT *sctx)
{
- return pgp_gpgme_send_menu (msg);
+ pgp_gpgme_send_menu (sctx);
}
static BODY *crypt_mod_pgp_encrypt_message (BODY *a, char *keylist, int sign)