X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..aa11c826c0f1cceb6acfe808cd996ecd1092d64f:/crypt-mod-pgp-gpgme.c diff --git a/crypt-mod-pgp-gpgme.c b/crypt-mod-pgp-gpgme.c index 290adf7..388056f 100644 --- a/crypt-mod-pgp-gpgme.c +++ b/crypt-mod-pgp-gpgme.c @@ -65,6 +65,11 @@ static int crypt_mod_pgp_check_traditional (FILE *fp, BODY *b, int tagged_only) return pgp_gpgme_check_traditional (fp, b, tagged_only); } +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) { return pgp_gpgme_findkeys (to, cc, bcc); @@ -117,7 +122,7 @@ struct crypt_module_specs crypt_mod_pgp_gpgme = crypt_mod_pgp_check_traditional, NULL, /* pgp_traditional_encryptsign */ NULL, /* pgp_invoke_getkeys */ - NULL, /* pgp_invoke_import */ + crypt_mod_pgp_invoke_import, NULL, /* pgp_extract_keys_from_attachment_list */ NULL, /* smime_getkeys */