summaryrefslogtreecommitdiffstats
path: root/crypt-mod.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 /crypt-mod.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 'crypt-mod.h')
-rw-r--r--crypt-mod.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypt-mod.h b/crypt-mod.h
index 1e284a0b..2489a613 100644
--- a/crypt-mod.h
+++ b/crypt-mod.h
@@ -43,8 +43,7 @@ typedef int (*crypt_func_pgp_check_traditional_t) (FILE *fp, BODY *b,
typedef BODY *(*crypt_func_pgp_traditional_encryptsign_t) (BODY *a, int flags,
char *keylist);
typedef BODY *(*crypt_func_pgp_make_key_attachment_t) (char *tempf);
-typedef char *(*crypt_func_findkeys_t) (ADDRESS *to,
- ADDRESS *cc, ADDRESS *bcc);
+typedef char *(*crypt_func_findkeys_t) (ADDRESS *adrlist);
typedef BODY *(*crypt_func_sign_message_t) (BODY *a);
typedef BODY *(*crypt_func_pgp_encrypt_message_t) (BODY *a, char *keylist,
int sign);