From 5f38b1e898698b939d76419cd1fa970effb38ecd Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 17 Oct 2002 03:04:11 +0000 Subject: Don't need to pass a path to camel_gpg_context_new () anymore. 2002-10-16 Jeffrey Stedfast * mail-format.c (handle_multipart_signed): Don't need to pass a path to camel_gpg_context_new () anymore. (mail_get_message_body): Same here. (handle_multipart_encrypted): Use camel_gpg_context_new () instead of mail_crypto_get_pgp_cipher_context (). * mail-preferences.c (mail_preferences_construct): There's no security tab anymore. (mail_preferences_apply): No need to save any pgp config data, there's nothing to configure! * mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to not pass a pgp path into camel_gpg_context_new (). * mail-config.c (mail_config_clear): No need to free a pgp_path variable anymore, we don't need one. (config_read): Don't read in a pgp-path or pgp-type anymore. (mail_config_write_on_exit): Don't save a pgp-path or pgp-type anymore, we don't use them. (pgpopen): Removed. (pgpclose): Removed. (mail_config_pgp_type_detect_from_path): Removed. (auto_detect_pgp_variables): Removed. (mail_config_get_pgp_type): Removed. (mail_config_set_pgp_type): Removed. (mail_config_get_pgp_path): Removed. (mail_config_set_pgp_path): Removed. svn path=/trunk/; revision=18384 --- mail/mail-crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-crypto.c') diff --git a/mail/mail-crypto.c b/mail/mail-crypto.c index 7eb604286b..115745d247 100644 --- a/mail/mail-crypto.c +++ b/mail/mail-crypto.c @@ -44,7 +44,7 @@ mail_crypto_get_pgp_cipher_context (const MailConfigAccount *account) { CamelCipherContext *cipher; - cipher = camel_gpg_context_new (session, mail_config_get_pgp_path ()); + cipher = camel_gpg_context_new (session); if (account) camel_gpg_context_set_always_trust ((CamelGpgContext *) cipher, account->pgp_always_trust); -- cgit v1.2.3