aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-26 08:09:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-26 08:09:09 +0800
commitf06f7a283659fa559e5377d015af65658ef73717 (patch)
tree585a8d045a08583465d745ffaba71ac116c4bf3d /mail/mail-crypto.c
parent99949cdd3907da9d310fe4a8f8bf927fd4069e58 (diff)
downloadgsoc2013-evolution-f06f7a283659fa559e5377d015af65658ef73717.tar.gz
gsoc2013-evolution-f06f7a283659fa559e5377d015af65658ef73717.tar.zst
gsoc2013-evolution-f06f7a283659fa559e5377d015af65658ef73717.zip
Update to not send the remember-passphrase option to the context, it
2001-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (decode_pgp): Update to not send the remember-passphrase option to the context, it doesn't need it anymore. (try_inline_pgp_sig): Same. * mail-accounts.c (construct): The remember-passphrase option is no longer there. This can now be set on the passphrase prompt dialog. (construct): Add confirm expunge options. * mail-config.c (config_read): We no longer read-in the remember-passphrase state because we no longer need it. (mail_config_write_on_exit): We no longer save it either. (mail_config_get_remember_pgp_passphrase): Removed. (mail_config_set_remember_pgp_passphrase): Removed. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): No longer do we need to send the remember passphrase state to the pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): Here too. (mail_crypto_pgp_mime_part_decrypt): And here. svn path=/trunk/; revision=13139
Diffstat (limited to 'mail/mail-crypto.c')
-rw-r--r--mail/mail-crypto.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/mail/mail-crypto.c b/mail/mail-crypto.c
index 2028e5bf28..bad81e5539 100644
--- a/mail/mail-crypto.c
+++ b/mail/mail-crypto.c
@@ -49,8 +49,7 @@ mail_crypto_pgp_mime_part_sign (CamelMimePart **mime_part, const char *userid, C
CamelPgpContext *context;
context = camel_pgp_context_new (session, mail_config_get_pgp_type (),
- mail_config_get_pgp_path (),
- mail_config_get_remember_pgp_passphrase ());
+ mail_config_get_pgp_path ());
if (context) {
camel_pgp_mime_part_sign (context, mime_part, userid, hash, ex);
@@ -75,8 +74,7 @@ mail_crypto_pgp_mime_part_verify (CamelMimePart *mime_part, CamelException *ex)
CamelPgpContext *context;
context = camel_pgp_context_new (session, mail_config_get_pgp_type (),
- mail_config_get_pgp_path (),
- mail_config_get_remember_pgp_passphrase ());
+ mail_config_get_pgp_path ());
if (context) {
valid = camel_pgp_mime_part_verify (context, mime_part, ex);
@@ -105,8 +103,7 @@ mail_crypto_pgp_mime_part_encrypt (CamelMimePart **mime_part, GPtrArray *recipie
CamelPgpContext *context;
context = camel_pgp_context_new (session, mail_config_get_pgp_type (),
- mail_config_get_pgp_path (),
- mail_config_get_remember_pgp_passphrase ());
+ mail_config_get_pgp_path ());
if (context) {
camel_pgp_mime_part_encrypt (context, mime_part, recipients, ex);
@@ -131,8 +128,7 @@ mail_crypto_pgp_mime_part_decrypt (CamelMimePart *mime_part, CamelException *ex)
CamelMimePart *part = NULL;
context = camel_pgp_context_new (session, mail_config_get_pgp_type (),
- mail_config_get_pgp_path (),
- mail_config_get_remember_pgp_passphrase ());
+ mail_config_get_pgp_path ());
if (context) {
part = camel_pgp_mime_part_decrypt (context, mime_part, ex);