diff options
Diffstat (limited to 'mail/mail-crypto.h')
-rw-r--r-- | mail/mail-crypto.h | 6 |
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); |