CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2024/10/30 11:49:27

Modified files:
        lib/libcrypto/ec: ec_print.c 

Log message:
Rewrite EC_POINT_point2hex()

Instead of doing everything by hand, this can use EC_POINT_point2bn()
and chain it with BN_bn2hex(), slashing the number of lines in half.

This removes one of the ten remaining "01234567890ABCDEF" strings from
libcrypto. Unfortunately, none of the nine others is used in an API that
could convert the octet string directly, so we use that ugly detour via
a bignum. Still it's better than what was there.

ok jsing

Reply via email to