diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-08-10 18:18:26 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-08-10 18:18:26 -0700 |
commit | 050125068504624fa7e70972df8f8e35122349eb (patch) | |
tree | 429a6bc269b8b7000afa1f58aa553342a31649dd /crypt-mod-pgp-gpgme.c | |
parent | 2a7358593861d9c721a2866ef8edb3fac6389a70 (diff) |
Fix attachment check_traditional and extract_keys operations. (see #3728)
Add helpers and iterate over the actx->idx instead of the BODY structure.
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 a3ed1cec..b56fcdba 100644 --- a/crypt-mod-pgp-gpgme.c +++ b/crypt-mod-pgp-gpgme.c @@ -60,9 +60,9 @@ static int crypt_mod_pgp_encrypted_handler (BODY *m, STATE *s) return pgp_gpgme_encrypted_handler (m, s); } -static int crypt_mod_pgp_check_traditional (FILE *fp, BODY *b, int tagged_only) +static int crypt_mod_pgp_check_traditional (FILE *fp, BODY *b, int just_one) { - return pgp_gpgme_check_traditional (fp, b, tagged_only); + return pgp_gpgme_check_traditional (fp, b, just_one); } static void crypt_mod_pgp_invoke_import (const char *fname) |