Merge ibuf_get() with ibuf_getdata() and rename it to ibuf_getdata().
authorclaudio <claudio@openbsd.org>
Sun, 16 Jul 2023 15:21:46 +0000 (15:21 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 16 Jul 2023 15:21:46 +0000 (15:21 +0000)
commitbd027751b05c3a807a68413c681039297c40662f
tree67cd1be43ae990af1d58846a531116b6fdb985ca
parent5b24870b0b8fb52cfc1715886eaf8cb3e9fe99c6
Merge ibuf_get() with ibuf_getdata() and rename it to ibuf_getdata().
Also replace a ibuf_reserve() call with ibuf_add_zero() and
remove a buf->buf == NULL check in ibuf_length() since it is not necessary.
OK tobhe@ tb@
sbin/iked/iked.h
sbin/iked/ikev2.c
sbin/iked/imsg_util.c