diff options
author | Kevin McCarthy <kevin@8t8.us> | 2015-03-30 15:45:47 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2015-03-30 15:45:47 -0700 |
commit | ecbba07c51d92c7af5b97ff49b50267ef00074d6 (patch) | |
tree | 3b3d1d9536f55158ee843b6442ae59ca655fad5c /crypt-mod-pgp-gpgme.c | |
parent | 2539e02de66b8a47d976b420eb46f5212f09419a (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-pgp-gpgme.c')
-rw-r--r-- | crypt-mod-pgp-gpgme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt-mod-pgp-gpgme.c b/crypt-mod-pgp-gpgme.c index 78570d6b..a2b799f5 100644 --- a/crypt-mod-pgp-gpgme.c +++ b/crypt-mod-pgp-gpgme.c @@ -70,9 +70,9 @@ static void crypt_mod_pgp_invoke_import (const char *fname) pgp_gpgme_invoke_import (fname); } -static char *crypt_mod_pgp_findkeys (ADDRESS *to, ADDRESS *cc, ADDRESS *bcc) +static char *crypt_mod_pgp_findkeys (ADDRESS *adrlist) { - return pgp_gpgme_findkeys (to, cc, bcc); + return pgp_gpgme_findkeys (adrlist); } static BODY *crypt_mod_pgp_sign_message (BODY *a) |