ec.c (ecpt_pyrichcompare): Fix point comparisons.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 Oct 2019 11:09:44 +0000 (12:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 02:50:40 +0000 (02:50 +0000)
commit61a549fb3344b390cc10e99191617757b3f38ecc
treef1009f0a40c54639883efa42674a0cfac8936c78
parent31e55c65069899d8f88bc1cac435dc93e40d6d42
ec.c (ecpt_pyrichcompare): Fix point comparisons.

Previously we'd just reject comparisons of points with different curves.
Instead, support comparing curveless points with curvy ones by just
comparing the points coordinatewise.

Unfortunately, to make equality be transitive, this means permitting
comparisons between points on different curves, which is unpleasant.
ec.c