Performance measuring program. For my embarassment, really.
[u/mdw/catacomb] / gcipher.h
index 97c3047..17df4c4 100644 (file)
--- a/gcipher.h
+++ b/gcipher.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: gcipher.h,v 1.4 2004/04/08 01:36:15 mdw Exp $
+ * $Id: gcipher.h,v 1.5 2004/04/21 00:37:32 mdw Exp $
  *
  * Generic symmetric cipher interface
  *
@@ -65,7 +65,7 @@ typedef struct gccipher {
 } gccipher;
 
 #define GC_INIT(cc, k, sz)     (cc)->init((k), (sz))
-#define GC_CLASS(c)            (c)->ops->c
+#define GC_CLASS(cc)           (cc)->ops->c
 #define GC_ENCRYPT(c, s, t, sz)        (c)->ops->encrypt((c), (s), (t), (sz))
 #define GC_DECRYPT(c, s, t, sz)        (c)->ops->decrypt((c), (s), (t), (sz))
 #define GC_DESTROY(c)          (c)->ops->destroy((c))