Convert ASN1_INTEGER_get() to ASN1_INTEGER_get_uint64()
authortb <tb@openbsd.org>
Tue, 23 May 2023 06:42:08 +0000 (06:42 +0000)
committertb <tb@openbsd.org>
Tue, 23 May 2023 06:42:08 +0000 (06:42 +0000)
commit331e816c912fe7c8e64f80bf4aee973d4e689d0d
tree82a5bd6bc1787ab4feca27020995af9e3f43043f
parent2cdc38ed5f3539c72becbe6f56b47071eda59c69
Convert ASN1_INTEGER_get() to ASN1_INTEGER_get_uint64()

The former is broken by design and should not be used. The latter allows
for unambiguous error checking. Add a few casts to print uint64_t without
the PRIu64 monstrosity.

ok claudio
usr.sbin/rpki-client/roa.c
usr.sbin/rpki-client/validate.c