diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-15 04:15:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-15 04:15:04 +0800 |
commit | 557afe41020d808811375ef02e4c1b822da5515e (patch) | |
tree | 1c448df7f8b120aa7bd7bd6408cc4f5e6cc9e5d4 /camel/camel-pgp-context.c | |
parent | 46139c6d5d307b7391fe40d6ecc9d3ffb3c68c1b (diff) | |
download | gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.tar gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.tar.gz gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.tar.bz2 gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.tar.lz gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.tar.xz gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.tar.zst gsoc2013-evolution-557afe41020d808811375ef02e4c1b822da5515e.zip |
Updated to use ctx->sign_protocol rather than ctx->protocol.
2002-06-14 Jeffrey Stedfast <fejj@ximian.com>
* camel-multipart-signed.c: Updated to use ctx->sign_protocol
rather than ctx->protocol.
* camel-cipher-context.h: Add an ecnryption protocol member.
* camel-pgp-context.c (camel_pgp_context_init): Set the encryption
protocol.
svn path=/trunk/; revision=17186
Diffstat (limited to 'camel/camel-pgp-context.c')
-rw-r--r-- | camel/camel-pgp-context.c | 7 |
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 |