aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-06-26 03:55:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-06-26 03:55:00 +0800
commit83f5888387c17fd95faf4c75117a5768ac7a4825 (patch)
tree0822cf6c1cf442d910c5cfb3476d62027b23d33c /mail/mail-crypto.h
parentc22378ec3d57a2d351d663819e2c3da97e81101f (diff)
downloadgsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.gz
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.bz2
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.lz
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.xz
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.tar.zst
gsoc2013-evolution-83f5888387c17fd95faf4c75117a5768ac7a4825.zip
Some compiler warning fixes.
2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_add_storage): Some compiler warning fixes. * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Removed. (mail_crypto_get_pgp_cipher_context): New convenience function to construct a pgp cipher context. (mail_crypto_pgp_mime_part_verify): Use the new get_pgp_cipher_context function. (mail_crypto_pgp_mime_part_encrypt): Same. (mail_crypto_pgp_mime_part_decrypt): Here too. * mail-account-gui.c (mail_account_gui_new): Initialise the pgp_always_trust checkbox. (mail_account_gui_save): Get whether or not to always_trust the user's pgp keys. * mail-config.c (account_copy): Copy over the pgp_always_trust option. (config_read): Read in the always_trust option. (mail_config_write): Save the always_trust option. svn path=/trunk/; revision=17277
Diffstat (limited to 'mail/mail-crypto.h')
-rw-r--r--mail/mail-crypto.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mail-crypto.h b/mail/mail-crypto.h
index 1ed794ceb5..f573625ce6 100644
--- a/mail/mail-crypto.h
+++ b/mail/mail-crypto.h
@@ -27,6 +27,7 @@
#include <camel/camel-pgp-mime.h>
#include <camel/camel-smime-context.h>
#include <camel/camel-smime-utils.h>
+#include "mail-config.h"
#ifdef __cplusplus
extern "C" {
@@ -34,10 +35,7 @@ extern "C" {
#endif /* __cplusplus */
/* PGP/MIME convenience wrappers */
-void mail_crypto_pgp_mime_part_sign (CamelMimePart **mime_part,
- const char *userid,
- CamelCipherHash hash,
- CamelException *ex);
+CamelCipherContext *mail_crypto_get_pgp_cipher_context (const MailConfigAccount *account);
CamelCipherValidity *mail_crypto_pgp_mime_part_verify (CamelMimePart *mime_part,
CamelException *ex);