Use stdio open_memstream(3) to build up log strings instead of trying to
authorclaudio <claudio@openbsd.org>
Mon, 12 Jun 2023 09:02:31 +0000 (09:02 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 12 Jun 2023 09:02:31 +0000 (09:02 +0000)
commitc308a74e04894faca11f4b58f9974ebc73600dee
tree07fbdb53d3bfeb89b34eba53812713f28d733efb
parent8a6938a8562519431259d73cd199663e826005de
Use stdio open_memstream(3) to build up log strings instead of trying to
abuse ibufs for that. Using stdio for this has the benefit of using any
stdio function to build up strings including fprintf().
With and OK tb@
sbin/iked/iked.h
sbin/iked/ikev2.c
sbin/iked/imsg_util.c