Rework the bn_to_string() to use public API
authortb <tb@openbsd.org>
Mon, 10 Apr 2023 13:57:32 +0000 (13:57 +0000)
committertb <tb@openbsd.org>
Mon, 10 Apr 2023 13:57:32 +0000 (13:57 +0000)
commit0841c4461bfd4165f538ab356cfec2f7b6bd92e6
treeb66cbb6286e4fd9940d33203eaac1ba89b67cfc5
parenteaaa50c6f4dd22f34bf7911fad01c8b5b5ad1a90
Rework the bn_to_string() to use public API

We can use the undocumented functions {i2s,s2i}_ASN1_INTEGER(3) to
exercise bn_to_string(). This way we use public API and remove the
need of linking statically.
regress/lib/libcrypto/bn/bn_to_string.c