X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/b14f3203c806fb8452d3f3ac7f03016dcdb1a511..HEAD:/math/ec-info.c diff --git a/math/ec-info.c b/math/ec-info.c index 017c4982..f57f92c0 100644 --- a/math/ec-info.c +++ b/math/ec-info.c @@ -494,14 +494,14 @@ const char *ec_getinfo(ec_info *ei, const char *p) /* --- @ec_sameinfop@ --- * * - * Arguments: @ec_info *ei, *ej@ = two elliptic curve parameter sets + * Arguments: @const ec_info *ei, *ej@ = two elliptic curve parameter sets * * Returns: Nonzero if the curves are identical (not just isomorphic). * * Use: Checks for sameness of curve parameters. */ -int ec_sameinfop(ec_info *ei, ec_info *ej) +int ec_sameinfop(const ec_info *ei, const ec_info *ej) { return (ec_samep(ei->c, ej->c) && MP_EQ(ei->r, ej->r) && MP_EQ(ei->h, ej->h) &&