aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-06-27 05:14:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-06-27 05:14:09 +0800
commit47400a031c1baef26a00584095ae647bc58dcecf (patch)
treeba062ffc93420ef045434d6507003e2eddd170c1 /mail/mail-crypto.h
parent26fb05c8cb7db57e500945ee5546e52363f2e4a6 (diff)
downloadgsoc2013-evolution-47400a031c1baef26a00584095ae647bc58dcecf.tar.gz
gsoc2013-evolution-47400a031c1baef26a00584095ae647bc58dcecf.tar.zst
gsoc2013-evolution-47400a031c1baef26a00584095ae647bc58dcecf.zip
Don't allow the pgp type to be anything except NONE or GPG.
2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Don't allow the pgp type to be anything except NONE or GPG. * mail-preferences.c (mail_preferences_apply): Don't allow someone to use anything other than GnuPG. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): No need to handle pgp5 or pgp6 types anymore since we are no longer supporting them. Ding dong the witch is dead! * mail-format.c (handle_multipart_encrypted): Rewritten to use camel_multipart_encrypted_decrypt. * mail-crypto.c (mail_crypto_pgp_mime_part_verify): Removed. (mail_crypto_pgp_mime_part_encrypt): Removed. (mail_crypto_pgp_mime_part_decrypt): Are we seeing a trend yet? svn path=/trunk/; revision=17301
Diffstat (limited to 'mail/mail-crypto.h')
-rw-r--r--mail/mail-crypto.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/mail/mail-crypto.h b/mail/mail-crypto.h
index f573625ce6..bc92e2a74b 100644
--- a/mail/mail-crypto.h
+++ b/mail/mail-crypto.h
@@ -34,18 +34,10 @@ extern "C" {
#pragma }
#endif /* __cplusplus */
+
/* PGP/MIME convenience wrappers */
CamelCipherContext *mail_crypto_get_pgp_cipher_context (const MailConfigAccount *account);
-CamelCipherValidity *mail_crypto_pgp_mime_part_verify (CamelMimePart *mime_part,
- CamelException *ex);
-
-void mail_crypto_pgp_mime_part_encrypt (CamelMimePart **mime_part,
- GPtrArray *recipients,
- CamelException *ex);
-
-CamelMimePart *mail_crypto_pgp_mime_part_decrypt (CamelMimePart *mime_part,
- CamelException *ex);
/* S/MIME v3 convenience wrappers */
CamelMimeMessage *mail_crypto_smime_sign (CamelMimeMessage *message, const char *userid,