aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 51be07c925..bcfa321e19 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -500,7 +500,7 @@ build_message (EMsgComposer *composer)
CamelMultipartSigned *mps;
CamelCipherContext *cipher;
- cipher = camel_gpg_context_new (session, mail_config_get_pgp_path ());
+ cipher = mail_crypto_get_pgp_cipher_context (hdrs->account);
if (cipher == NULL) {
camel_exception_setv (&ex, CAMEL_EXCEPTION_SYSTEM,
_("Could not create a PGP signature context"));