From 47400a031c1baef26a00584095ae647bc58dcecf Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 26 Jun 2002 21:14:09 +0000 Subject: Don't allow the pgp type to be anything except NONE or GPG. 2002-06-26 Jeffrey Stedfast * 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 --- mail/mail-crypto.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'mail/mail-crypto.h') 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, -- cgit v1.2.3