diff options
author | Moritz Schulte <Moritz.Schulte@ruhr-uni-bochum.de> | 2007-02-24 06:12:19 +0000 |
---|---|---|
committer | Moritz Schulte <Moritz.Schulte@ruhr-uni-bochum.de> | 2007-02-24 06:12:19 +0000 |
commit | fce975f5786772eaf73aab7478a503060ee504c7 (patch) | |
tree | cab6fe94a3c06d317598338bd9cb0101e7148de9 /crypt-mod-pgp-gpgme.c | |
parent | 6c4a226429b13f46f3ddd00a76aed0b82534b60f (diff) |
PKA signature verification via GPGME, controlled by $crypt_use_pka.
Diffstat (limited to 'crypt-mod-pgp-gpgme.c')
-rw-r--r-- | crypt-mod-pgp-gpgme.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypt-mod-pgp-gpgme.c b/crypt-mod-pgp-gpgme.c index 55257cb0..290adf71 100644 --- a/crypt-mod-pgp-gpgme.c +++ b/crypt-mod-pgp-gpgme.c @@ -90,6 +90,11 @@ static BODY *crypt_mod_pgp_encrypt_message (BODY *a, char *keylist, int sign) return pgp_gpgme_encrypt_message (a, keylist, sign); } +static void crypt_mod_pgp_set_sender (const char *sender) +{ + gpgme_set_sender (sender); +} + struct crypt_module_specs crypt_mod_pgp_gpgme = { APPLICATION_PGP, { @@ -104,6 +109,7 @@ struct crypt_module_specs crypt_mod_pgp_gpgme = crypt_mod_pgp_sign_message, crypt_mod_pgp_verify_one, crypt_mod_pgp_send_menu, + crypt_mod_pgp_set_sender, /* PGP specific. */ crypt_mod_pgp_encrypt_message, |