diff options
author | Kevin McCarthy <kevin@8t8.us> | 2020-02-02 15:10:34 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2020-02-29 19:15:09 -0800 |
commit | d3d0f3a23dfac4c326f68cdc99430858e2572198 (patch) | |
tree | faa1006c1849b63f3cd4ac47d32a7cadecc0d3ec /crypt-mod-smime-gpgme.c | |
parent | 093cc268e9e812ca647f6edfcf8028dff9b62650 (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-smime-gpgme.c')
-rw-r--r-- | crypt-mod-smime-gpgme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt-mod-smime-gpgme.c b/crypt-mod-smime-gpgme.c index 006a5c2f..0ea065ba 100644 --- a/crypt-mod-smime-gpgme.c +++ b/crypt-mod-smime-gpgme.c @@ -70,9 +70,9 @@ static int crypt_mod_smime_verify_one (BODY *sigbdy, STATE *s, const char *tempf return smime_gpgme_verify_one (sigbdy, s, tempf); } -static int crypt_mod_smime_send_menu (HEADER *msg) +static void crypt_mod_smime_send_menu (SEND_CONTEXT *sctx) { - return smime_gpgme_send_menu (msg); + smime_gpgme_send_menu (sctx); } static BODY *crypt_mod_smime_build_smime_entity (BODY *a, char *certlist) |