aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 39188aa160..cb16f583a1 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2002-06-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Use the new gpg cipher context
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"));