acme-client: check EC signature length
authortb <tb@openbsd.org>
Sun, 18 Dec 2022 12:31:57 +0000 (12:31 +0000)
committertb <tb@openbsd.org>
Sun, 18 Dec 2022 12:31:57 +0000 (12:31 +0000)
commit8672b09068d98f2e4a156dd51f4eae7f57483fc2
treef94bfd255958c2335cb9dd981a8f5524c718ddaa
parenteb2dd7b0e9be57a0de8eac4ca8def554feb53022
acme-client: check EC signature length

Make sure the size_t containing EC signature length is not truncated
when passing it to d2i_ECDSA_SIG() as a long. This won't happen, but
documents API quirks...

requested by jsing
usr.sbin/acme-client/acctproc.c