Use ibuf_data() instead of accessing the ibuf buf pointer directly.
authorclaudio <claudio@openbsd.org>
Fri, 28 Jul 2023 07:31:38 +0000 (07:31 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 28 Jul 2023 07:31:38 +0000 (07:31 +0000)
commita699afcae2000f690cec89a958b9e8fc6350ddce
treebb5e5becca8677da61c29cb92a8c22756f23acd8
parent29ce8fc7ed9fc7f6da7e07eb42ef90d794e806a0
Use ibuf_data() instead of accessing the ibuf buf pointer directly.
Also convert some ibuf_add(() calls to ibuf_add_buf() where appropriate.
OK tobhe@ tb@
sbin/iked/crypto.c
sbin/iked/dh.c
sbin/iked/ikev2.c
sbin/iked/ikev2_msg.c