aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-13 01:11:45 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-13 01:11:45 +0800
commitfabdba6f1ca3ada8be27a81bdc069bdb8270e1c3 (patch)
tree30739bbd15486ab3729badeb98a191d27f35e45c /composer
parent166e7bcc289c528e1eb0ae5cd170b7c00f1ce8d8 (diff)
downloadgsoc2013-evolution-fabdba6f1ca3ada8be27a81bdc069bdb8270e1c3.tar.gz
gsoc2013-evolution-fabdba6f1ca3ada8be27a81bdc069bdb8270e1c3.tar.zst
gsoc2013-evolution-fabdba6f1ca3ada8be27a81bdc069bdb8270e1c3.zip
Use the mail-crypto pgp-mime wrappers.
2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime wrappers. svn path=/trunk/; revision=9268
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index cafe3f7fbd..6e7051bfa9 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-12 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
+ wrappers.
+
2001-04-11 Dan Winship <danw@ximian.com>
* e-msg-composer-select-file.c (create_file_selection): Fix
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index c3fc792cf0..1f6f27a501 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -437,8 +437,8 @@ build_message (EMsgComposer *composer)
camel_exception_init (&ex);
from = e_msg_composer_hdrs_get_from (E_MSG_COMPOSER_HDRS (composer->hdrs));
camel_internet_address_get (from, 0, NULL, &pgpid);
- pgp_mime_part_sign (&part, pgpid, PGP_HASH_TYPE_SHA1,
- &ex);
+ mail_crypto_pgp_mime_part_sign (&part, pgpid, CAMEL_PGP_HASH_TYPE_SHA1,
+ &ex);
camel_object_unref (CAMEL_OBJECT (from));
if (camel_exception_is_set (&ex))
goto exception;
@@ -475,7 +475,7 @@ build_message (EMsgComposer *composer)
g_ptr_array_add (recipients, g_strdup (address));
}
- pgp_mime_part_encrypt (&part, recipients, &ex);
+ mail_crypto_pgp_mime_part_encrypt (&part, recipients, &ex);
for (i = 0; i < recipients->len; i++)
g_free (recipients->pdata[i]);
g_ptr_array_free (recipients, TRUE);