aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-pgp-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-pgp-context.c')
-rw-r--r--camel/camel-pgp-context.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c
index 246b35d691..0b5916bca2 100644
--- a/camel/camel-pgp-context.c
+++ b/camel/camel-pgp-context.c
@@ -89,10 +89,11 @@ static void
camel_pgp_context_init (CamelPgpContext *context)
{
CamelCipherContext *ciph = (CamelCipherContext *)context;
-
+
context->priv = g_new0 (struct _CamelPgpContextPrivate, 1);
-
- ciph->protocol = "application/pgp-signature";
+
+ ciph->sign_protocol = "application/pgp-signature";
+ ciph->encrypt_protocol = "application/pgp-encrypted";
}
static void