summaryrefslogtreecommitdiffstats
path: root/mutt_crypt.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2015-03-30 15:45:47 -0700
committerKevin McCarthy <kevin@8t8.us>2015-03-30 15:45:47 -0700
commitecbba07c51d92c7af5b97ff49b50267ef00074d6 (patch)
tree3b3d1d9536f55158ee843b6442ae59ca655fad5c /mutt_crypt.h
parent2539e02de66b8a47d976b420eb46f5212f09419a (diff)
Refactor the address list generation out of the find_keys routines.
All four find_keys routines have a similar set up code for generating a single address list out of the to, cc, bcc lists. This patch pulls all the code into crypt_get_keys. This is done to simplify the functions before later patches make them more complicated (with the oppenc_mode parameter).
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 49345606..cdb43524 100644
--- a/mutt_crypt.h
+++ b/mutt_crypt.h
@@ -211,7 +211,7 @@ BODY *crypt_pgp_make_key_attachment (char *tempf);
/* This routine attempts to find the keyids of the recipients of a
message. It returns NULL if any of the keys can not be found. */
-char *crypt_pgp_findkeys (ADDRESS *to, ADDRESS *cc, ADDRESS *bcc);
+char *crypt_pgp_findkeys (ADDRESS *adrlist);
/* Create a new body with a PGP signed message from A. */
BODY *crypt_pgp_sign_message (BODY *a);
@@ -260,7 +260,7 @@ char *crypt_smime_ask_for_key (char *prompt, char *mailbox, short public);
/* This routine attempts to find the keyids of the recipients of a
message. It returns NULL if any of the keys can not be found. */
-char *crypt_smime_findkeys (ADDRESS *to, ADDRESS *cc, ADDRESS *bcc);
+char *crypt_smime_findkeys (ADDRESS *adrlist);
/* fixme: Needs documentation. */
BODY *crypt_smime_sign_message (BODY *a);