aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index e9291e7bf5..7dcbc978cb 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1094,7 +1094,8 @@ decode_pgp (CamelStream *ciphertext, CamelStream *plaintext, MailDisplay *md)
CamelPgpContext *ctx;
ctx = camel_pgp_context_new (session, mail_config_get_pgp_type (),
- mail_config_get_pgp_path ());
+ mail_config_get_pgp_path (),
+ mail_config_get_remember_pgp_passphrase ());
if (ctx) {
camel_pgp_decrypt (ctx, ciphertext, plaintext, &ex);
@@ -1238,7 +1239,8 @@ try_inline_pgp_sig (char *start, MailDisplay *md)
mail_html_write (md->html, md->stream, "<hr>");
context = camel_pgp_context_new (session, mail_config_get_pgp_type (),
- mail_config_get_pgp_path ());
+ mail_config_get_pgp_path (),
+ mail_config_get_remember_pgp_passphrase ());
if (context) {
CamelStream *ciphertext;