Miscellaneous constification.
[u/mdw/catacomb] / rho.h
diff --git a/rho.h b/rho.h
index 6d060b0..2760096 100644 (file)
--- a/rho.h
+++ b/rho.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: rho.h,v 1.1 2000/07/09 21:32:30 mdw Exp $
+ * $Id: rho.h,v 1.2 2004/04/02 01:03:49 mdw Exp $
  *
  * Pollard's rho algorithm for discrete logs
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: rho.h,v $
+ * Revision 1.2  2004/04/02 01:03:49  mdw
+ * Miscellaneous constification.
+ *
  * Revision 1.1  2000/07/09 21:32:30  mdw
  * Pollard's rho algorithm for computing discrete logs.
  *
@@ -63,7 +66,7 @@ typedef struct rho_ops {
 /* --- The Pollard's rho context structure --- */
 
 typedef struct rho_ctx {
-  rho_ops *ops;                                /* Group operations table */
+  const rho_ops *ops;                  /* Group operations table */
   void *c;                             /* Context for group operations */
   void *g, *a;                         /* Generator and argument for log */
   mp *n;                               /* Cyclic group order */