From 2798919c3c8031d9bff195b83feeb61a4583d8ee Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 14 May 2001 22:25:02 +0000 Subject: Lots of fixes to get this to almost compile. Still struggling with the 2001-05-14 Jeffrey Stedfast * 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 --- camel/camel-cipher-context.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'camel/camel-cipher-context.h') diff --git a/camel/camel-cipher-context.h b/camel/camel-cipher-context.h index acc1a88f90..06846e5840 100644 --- a/camel/camel-cipher-context.h +++ b/camel/camel-cipher-context.h @@ -64,8 +64,9 @@ typedef struct _CamelCipherContextClass { int (*clearsign) (CamelCipherContext *context, const char *userid, CamelCipherHash hash, CamelStream *istream, CamelStream *ostream, CamelException *ex); - CamelCipherValidity * (*verify) (CamelCipherContext *context, CamelStream *istream, - CamelStream *sigstream, CamelException *ex); + CamelCipherValidity * (*verify) (CamelCipherContext *context, CamelCipherHash hash, + CamelStream *istream, CamelStream *sigstream, + CamelException *ex); int (*encrypt) (CamelCipherContext *context, gboolean sign, const char *userid, GPtrArray *recipients, CamelStream *istream, CamelStream *ostream, @@ -89,7 +90,8 @@ int camel_cipher_sign (CamelCipherContext *context, const char int camel_cipher_clearsign (CamelCipherContext *context, const char *userid, CamelCipherHash hash, CamelStream *istream, CamelStream *ostream, CamelException *ex); -CamelCipherValidity *camel_cipher_verify (CamelCipherContext *context, CamelStream *istream, CamelStream *sigstream, +CamelCipherValidity *camel_cipher_verify (CamelCipherContext *context, CamelCipherHash hash, + CamelStream *istream, CamelStream *sigstream, CamelException *ex); int camel_cipher_encrypt (CamelCipherContext *context, gboolean sign, const char *userid, -- cgit