From fabdba6f1ca3ada8be27a81bdc069bdb8270e1c3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 12 Apr 2001 17:11:45 +0000 Subject: Use the mail-crypto pgp-mime wrappers. 2001-04-12 Jeffrey Stedfast * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime wrappers. svn path=/trunk/; revision=9268 --- composer/e-msg-composer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'composer/e-msg-composer.c') 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); -- cgit v1.2.3