Simplify ASN1_bn_print() usage in ec/
authortb <tb@openbsd.org>
Sat, 1 Jul 2023 08:15:31 +0000 (08:15 +0000)
committertb <tb@openbsd.org>
Sat, 1 Jul 2023 08:15:31 +0000 (08:15 +0000)
commit45cdf7359931b59f9750a48f908d4408c53f4eb3
treebf57c281fcc3c4d8f67cf767f561189be6fc101c
parent6af87e9a3a0d032d058c8784bbc60542d9de0ec3
Simplify ASN1_bn_print() usage in ec/

ASN1_bn_print() doesn't print anything if the BIGNUM passed in is NULL.
Also simplify the handling of the point conversion form of the generator.

ok jsing
lib/libcrypto/ec/ec_ameth.c
lib/libcrypto/ec/eck_prn.c