X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eb31b00e4098ffb93eaf574f70cdd108b6610080..4e66da02f19648ee1be862e67ba1d1fc5549fb7f:/rho.c diff --git a/rho.c b/rho.c index aae4951..57754d3 100644 --- a/rho.c +++ b/rho.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: rho.c,v 1.3 2001/06/16 12:56:38 mdw Exp $ + * $Id: rho.c,v 1.4 2004/04/02 01:03:49 mdw Exp $ * * Pollard's rho algorithm for discrete logs * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: rho.c,v $ + * Revision 1.4 2004/04/02 01:03:49 mdw + * Miscellaneous constification. + * * Revision 1.3 2001/06/16 12:56:38 mdw * Fixes for interface change to @mpmont_expr@ and @mpmont_mexpr@. * @@ -215,7 +218,7 @@ static void prime_drop(void *x) MP_DROP(*(mp **)x); } -static rho_ops prime_ops = { +static const rho_ops prime_ops = { prime_sqr, prime_mul, prime_eq, prime_split, prime_drop };