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
This commit is contained in:
Jeffrey Stedfast
2002-06-25 19:55:27 +00:00
committed by Jeffrey Stedfast
parent 83f5888387
commit 5a70e4fee0
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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"));