aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-pgp-context.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-15 06:25:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-15 06:25:02 +0800
commit2798919c3c8031d9bff195b83feeb61a4583d8ee (patch)
treeaadb5b0db44aa5993868b2f3ea5a1e04ffccaba6 /camel/camel-pgp-context.c
parentdbeec96be886a5253455f804683c1c3b3c711fc8 (diff)
downloadgsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.gz
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.bz2
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.lz
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.xz
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.zst
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.zip
Lots of fixes to get this to almost compile. Still struggling with the
2001-05-14 Jeffrey Stedfast <fejj@ximian.com> * camel-smime-context.c: Lots of fixes to get this to almost compile. Still struggling with the fact that CERTCertDBHandle is an "incomplete type". *sigh*. * camel-smime.c (camel_smime_part_verify): Updated to pass in a hash argument to camel_smime_verify(). * camel-pgp-mime.c (camel_pgp_mime_part_verify): Update according to the changes in the context API. * camel-pgp-context.c (pgp_verify): Updated to take a CamelCipherHash argument. * camel-cipher-context.c (camel_cipher_verify): Now takes a hash argument since the S/MIME code needs this. svn path=/trunk/; revision=9804
Diffstat (limited to 'camel/camel-pgp-context.c')
-rw-r--r--camel/camel-pgp-context.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c
index c19756a135..a3945a22fe 100644
--- a/camel/camel-pgp-context.c
+++ b/camel/camel-pgp-context.c
@@ -62,15 +62,17 @@ struct _CamelPgpContextPrivate {
static int pgp_sign (CamelCipherContext *ctx, const char *userid, CamelCipherHash hash,
CamelStream *istream, CamelStream *ostream, CamelException *ex);
-static int pgp_clearsign (CamelCipherContext *context, const char *userid, CamelCipherHash hash,
- CamelStream *istream, CamelStream *ostream, CamelException *ex);
-static CamelCipherValidity *pgp_verify (CamelCipherContext *context, CamelStream *istream,
- CamelStream *sigstream, CamelException *ex);
+static int pgp_clearsign (CamelCipherContext *context, const char *userid,
+ CamelCipherHash hash, CamelStream *istream,
+ CamelStream *ostream, CamelException *ex);
+static CamelCipherValidity *pgp_verify (CamelCipherContext *context, CamelCipherHash hash,
+ CamelStream *istream, CamelStream *sigstream,
+ CamelException *ex);
static int pgp_encrypt (CamelCipherContext *context, gboolean sign, const char *userid,
GPtrArray *recipients, CamelStream *istream, CamelStream *ostream,
CamelException *ex);
-static int pgp_decrypt (CamelCipherContext *context, CamelStream *istream, CamelStream *ostream,
- CamelException *ex);
+static int pgp_decrypt (CamelCipherContext *context, CamelStream *istream,
+ CamelStream *ostream, CamelException *ex);
static CamelCipherContextClass *parent_class;
@@ -845,7 +847,7 @@ swrite (CamelStream *istream)
static CamelCipherValidity *
-pgp_verify (CamelCipherContext *ctx, CamelStream *istream,
+pgp_verify (CamelCipherContext *ctx, CamelCipherHash hash, CamelStream *istream,
CamelStream *sigstream, CamelException *ex)
{
CamelPgpContext *context = CAMEL_PGP_CONTEXT (ctx);