crypto.pcurves: don't assume that points with X=0 are at infinity (#16017)

There's also a valid point with X=0 on each curves.

Fixes #16015
cc708b4a88Frank Denis committed on 6/13/2023, 6:20:24 PM· committed by GitHubparent137b115
3 files changedLine totals unavailable