aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-06-26 03:55:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-06-26 03:55:27 +0800
commit5a70e4fee0d9f439c8da85b4f65739161fd364fd (patch)
treee877f7df426640382cdca50c2c86b73802d2b419 /composer/e-msg-composer.c
parent83f5888387c17fd95faf4c75117a5768ac7a4825 (diff)
downloadgsoc2013-evolution-5a70e4fee0d9f439c8da85b4f65739161fd364fd.tar.gz
gsoc2013-evolution-5a70e4fee0d9f439c8da85b4f65739161fd364fd.tar.zst
gsoc2013-evolution-5a70e4fee0d9f439c8da85b4f65739161fd364fd.zip
Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision is
2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision is done for us. svn path=/trunk/; revision=17278
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"));