summaryrefslogtreecommitdiffstats
path: root/mutt_crypt.h
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 /mutt_crypt.h
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 'mutt_crypt.h')
-rw-r--r--mutt_crypt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutt_crypt.h b/mutt_crypt.h
index 9511507b..e4de78ca 100644
--- a/mutt_crypt.h
+++ b/mutt_crypt.h
@@ -249,7 +249,7 @@ BODY *crypt_pgp_encrypt_message (HEADER *msg, BODY *a, char *keylist, int sign);
/* Invoke the PGP command to import a key. */
void crypt_pgp_invoke_import (const char *fname);
-int crypt_pgp_send_menu (HEADER *msg);
+void crypt_pgp_send_menu (SEND_CONTEXT *sctx);
/* fixme: needs documentation */
int crypt_pgp_verify_one (BODY *sigbdy, STATE *s, const char *tempf);
@@ -299,7 +299,7 @@ BODY *crypt_smime_build_smime_entity (BODY *a, char *certlist);
/* Add a certificate and update index file (externally). */
void crypt_smime_invoke_import (const char *infile, const char *mailbox);
-int crypt_smime_send_menu (HEADER *msg);
+void crypt_smime_send_menu (SEND_CONTEXT *sctx);
void crypt_smime_set_sender (const char *sender);