diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-13 01:11:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-13 01:11:45 +0800 |
commit | fabdba6f1ca3ada8be27a81bdc069bdb8270e1c3 (patch) | |
tree | 30739bbd15486ab3729badeb98a191d27f35e45c /composer/e-msg-composer.c | |
parent | 166e7bcc289c528e1eb0ae5cd170b7c00f1ce8d8 (diff) | |
download | gsoc2013-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/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |