diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-22 03:11:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-22 03:11:57 +0800 |
commit | ea6569368591c16ec4ef6398016a7d33579a793d (patch) | |
tree | f00390fc8b6602aee81971fcd58fe98bbb9f45d5 /camel/camel-pgp-context.c | |
parent | 9534ce2e95c2d9886c4cc1e3fdd9e416629422ce (diff) | |
download | gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.tar gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.tar.gz gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.tar.bz2 gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.tar.lz gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.tar.xz gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.tar.zst gsoc2013-evolution-ea6569368591c16ec4ef6398016a7d33579a793d.zip |
New source files implementing the CamelCipherContext class for gnupg.
2002-06-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.[c,h]: New source files implementing the
CamelCipherContext class for gnupg.
* camel-pgp-context.c (camel_pgp_context_new): Return a
CamelCipherContext.
* camel-pgp-mime.c (camel_pgp_mime_part_decrypt): Take a
CamelCipherContext argument rather than a CamelPgpContext since we
now have a CamelGpgContext also.
(camel_pgp_mime_part_encrypt): Same.
(camel_pgp_mime_part_verify): Same.
(camel_pgp_mime_part_sign): Same.
svn path=/trunk/; revision=17251
Diffstat (limited to 'camel/camel-pgp-context.c')
-rw-r--r-- | camel/camel-pgp-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c index 0b5916bca2..eb315c3a18 100644 --- a/camel/camel-pgp-context.c +++ b/camel/camel-pgp-context.c @@ -155,7 +155,7 @@ camel_pgp_context_get_type (void) * * Return value: the new CamelPgpContext **/ -CamelPgpContext * +CamelCipherContext * camel_pgp_context_new (CamelSession *session, CamelPgpType type, const char *path) { CamelPgpContext *context; @@ -172,7 +172,7 @@ camel_pgp_context_new (CamelSession *session, CamelPgpType type, const char *pat context->priv->type = type; context->priv->path = g_strdup (path); - return context; + return (CamelCipherContext *) context; } |