Use ASN1_INTEGER to parse/build (Z)LONG_it
authorjsing <jsing@openbsd.org>
Sat, 2 Jul 2022 18:14:35 +0000 (18:14 +0000)
committerjsing <jsing@openbsd.org>
Sat, 2 Jul 2022 18:14:35 +0000 (18:14 +0000)
commit68d643d101afaf58a2afb9388b43060922d2cedd
treecf69180acd218d22578c52ce021bde8d1d1f986b
parent5e463d32bdb3ad6eb3def397dfeada449b898fd9
Use ASN1_INTEGER to parse/build (Z)LONG_it

Rather than having yet another (broken) ASN.1 INTEGER content builder and
parser, use {c2i,i2c}_ASN1_INTEGER().

ok beck@
lib/libcrypto/asn1/x_long.c