EC_POINT_point2oct() need to special case the point at infinity
authortb <tb@openbsd.org>
Wed, 23 Oct 2024 13:42:50 +0000 (13:42 +0000)
committertb <tb@openbsd.org>
Wed, 23 Oct 2024 13:42:50 +0000 (13:42 +0000)
commite24df12180b38d3d59c392fb38b5042a3a55ec18
tree8e35d57976d145ea694f55b72d07f28b1fae8781
parentbf431fff95e1ce735100aebbc9f634b8dbfd6894
EC_POINT_point2oct() need to special case the point at infinity

This is annoying since it undoes some polishing done before commit and
reintroduces an unpleasant asymmetry.

found by anton via openssl-ruby tests
ok jsing
lib/libcrypto/ec/ecp_oct.c