aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-cipher-context.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-13 06:03:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-13 06:03:23 +0800
commitdc90015fb89eeb74366c2bb91b07e8d22ca562c9 (patch)
treece658ea875771eaddff0496c9d6f902b47abbf95 /camel/camel-cipher-context.c
parentde35de9442714109256c2615f5a3bc269ecff13c (diff)
downloadgsoc2013-evolution-dc90015fb89eeb74366c2bb91b07e8d22ca562c9.tar.gz
gsoc2013-evolution-dc90015fb89eeb74366c2bb91b07e8d22ca562c9.tar.zst
gsoc2013-evolution-dc90015fb89eeb74366c2bb91b07e8d22ca562c9.zip
Oops, lets not get into a recursive call here ;-)
2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (camel_pgp_context_get_type): Oops, lets not get into a recursive call here ;-) * tests/smime/pgp.c: Updated to reflect changes to the PGP code. * tests/smime/pgp-mime.c: Same. svn path=/trunk/; revision=9287
Diffstat (limited to 'camel/camel-cipher-context.c')
-rw-r--r--camel/camel-cipher-context.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/camel-cipher-context.c b/camel/camel-cipher-context.c
index 07fda80fd2..1f6f4af3ec 100644
--- a/camel/camel-cipher-context.c
+++ b/camel/camel-cipher-context.c
@@ -41,7 +41,7 @@
#define d(x)
-#define CCCC(k) CAMEL_CIPHER_CONTEXT_CLASS (k)
+#define CCC_CLASS(o) CAMEL_CIPHER_CONTEXT_CLASS(CAMEL_OBJECT_GET_CLASS(o))
struct _CamelCipherContextPrivate {
#ifdef ENABLE_THREADS
@@ -191,7 +191,7 @@ camel_cipher_sign (CamelCipherContext *context, const char *userid, CamelCipherH
CIPHER_LOCK(context);
- retval = CCCC (context)->sign (context, userid, hash, istream, ostream, ex);
+ retval = CCC_CLASS (context)->sign (context, userid, hash, istream, ostream, ex);
CIPHER_UNLOCK(context);
@@ -229,7 +229,7 @@ camel_cipher_clearsign (CamelCipherContext *context, const char *userid, CamelCi
CIPHER_LOCK(context);
- retval = CCCC (context)->clearsign (context, userid, hash, istream, ostream, ex);
+ retval = CCC_CLASS (context)->clearsign (context, userid, hash, istream, ostream, ex);
CIPHER_UNLOCK(context);
@@ -270,7 +270,7 @@ camel_cipher_verify (CamelCipherContext *context, CamelStream *istream,
CIPHER_LOCK(context);
- valid = CCCC (context)->verify (context, istream, sigstream, ex);
+ valid = CCC_CLASS (context)->verify (context, istream, sigstream, ex);
CIPHER_UNLOCK(context);
@@ -310,7 +310,7 @@ camel_cipher_encrypt (CamelCipherContext *context, gboolean sign, const char *us
CIPHER_LOCK(context);
- retval = CCCC (context)->encrypt (context, sign, userid, recipients, istream, ostream, ex);
+ retval = CCC_CLASS (context)->encrypt (context, sign, userid, recipients, istream, ostream, ex);
CIPHER_UNLOCK(context);
@@ -347,7 +347,7 @@ camel_cipher_decrypt (CamelCipherContext *context, CamelStream *istream,
CIPHER_LOCK(context);
- retval = CCCC (context)->decrypt (context, istream, ostream, ex);
+ retval = CCC_CLASS (context)->decrypt (context, istream, ostream, ex);
CIPHER_UNLOCK(context);