diff options
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 6 |
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); |