diff options
Diffstat (limited to 'mail/mail-crypto.c')
-rw-r--r-- | mail/mail-crypto.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mail/mail-crypto.c b/mail/mail-crypto.c index 2028e5bf28..bad81e5539 100644 --- a/mail/mail-crypto.c +++ b/mail/mail-crypto.c @@ -49,8 +49,7 @@ mail_crypto_pgp_mime_part_sign (CamelMimePart **mime_part, const char *userid, C CamelPgpContext *context; context = camel_pgp_context_new (session, mail_config_get_pgp_type (), - mail_config_get_pgp_path (), - mail_config_get_remember_pgp_passphrase ()); + mail_config_get_pgp_path ()); if (context) { camel_pgp_mime_part_sign (context, mime_part, userid, hash, ex); @@ -75,8 +74,7 @@ mail_crypto_pgp_mime_part_verify (CamelMimePart *mime_part, CamelException *ex) CamelPgpContext *context; context = camel_pgp_context_new (session, mail_config_get_pgp_type (), - mail_config_get_pgp_path (), - mail_config_get_remember_pgp_passphrase ()); + mail_config_get_pgp_path ()); if (context) { valid = camel_pgp_mime_part_verify (context, mime_part, ex); @@ -105,8 +103,7 @@ mail_crypto_pgp_mime_part_encrypt (CamelMimePart **mime_part, GPtrArray *recipie CamelPgpContext *context; context = camel_pgp_context_new (session, mail_config_get_pgp_type (), - mail_config_get_pgp_path (), - mail_config_get_remember_pgp_passphrase ()); + mail_config_get_pgp_path ()); if (context) { camel_pgp_mime_part_encrypt (context, mime_part, recipients, ex); @@ -131,8 +128,7 @@ mail_crypto_pgp_mime_part_decrypt (CamelMimePart *mime_part, CamelException *ex) CamelMimePart *part = NULL; context = camel_pgp_context_new (session, mail_config_get_pgp_type (), - mail_config_get_pgp_path (), - mail_config_get_remember_pgp_passphrase ()); + mail_config_get_pgp_path ()); if (context) { part = camel_pgp_mime_part_decrypt (context, mime_part, ex); |