Convert calls to ibuf_length() where it is clear that the ibuf is not
authorclaudio <claudio@openbsd.org>
Fri, 4 Aug 2023 19:06:25 +0000 (19:06 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 4 Aug 2023 19:06:25 +0000 (19:06 +0000)
commiteef6c82a44db240d0ac529bdc0330fb3f3c7ba22
tree0f4056cbe70e6baa5f31d0c51fea3980022e61fd
parentec70899f7dd0312bbf7d01fb858f9fa1e141b44a
Convert calls to ibuf_length() where it is clear that the ibuf is not
NULL to ibuf_size(). In some cases it is clear that the ibuf pointer
should just be checked for NULL since afterwards a new ibuf is allocated
in its place.
OK tb@
sbin/iked/ca.c
sbin/iked/config.c
sbin/iked/crypto.c
sbin/iked/ikev2.c
sbin/iked/ikev2_msg.c
sbin/iked/ikev2_pld.c