ec.c (ecpt_pyhash): Fix hashing.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 Oct 2019 11:02:59 +0000 (12:02 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 02:50:40 +0000 (02:50 +0000)
commit31e55c65069899d8f88bc1cac435dc93e40d6d42
tree5e74c8c799e2e4f0141ac52bcaeaab42bafe2953
parentab723d7332a553a47c78f33229e402a0b3618744
ec.c (ecpt_pyhash): Fix hashing.

Previously, hashing a curveless point would just crash, which is
surprisingly bad form.  Replace this mess with a simpler thing which
just converts the point to external form and hashes the coordinates.
ec.c