From: Mark Wooding Date: Tue, 15 Oct 2019 11:09:44 +0000 (+0100) Subject: ec.c (ecpt_pyrichcompare): Fix point comparisons. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/commitdiff_plain/61a549fb3344b390cc10e99191617757b3f38ecc?hp=61a549fb3344b390cc10e99191617757b3f38ecc 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. ---