Re: iked imsg_util.c cleanup

2023-05-23 Thread Tobias Heider
On Tue, May 23, 2023 at 11:56:18AM +0200, Claudio Jeker wrote: > There is a lot of duplication in iked's imsg_util.c > Now here is a minimal diff removing all extra parts added that are not > needed anymore. The removal of ibuf_zero() depends partially on my > previous imsg diff. > > With my imsg

Re: iked imsg_util.c cleanup

2023-05-23 Thread Theo Buehler
On Tue, May 23, 2023 at 11:56:18AM +0200, Claudio Jeker wrote: > There is a lot of duplication in iked's imsg_util.c > Now here is a minimal diff removing all extra parts added that are not > needed anymore. The removal of ibuf_zero() depends partially on my > previous imsg diff. > > With my imsg

iked imsg_util.c cleanup

2023-05-23 Thread Claudio Jeker
There is a lot of duplication in iked's imsg_util.c Now here is a minimal diff removing all extra parts added that are not needed anymore. The removal of ibuf_zero() depends partially on my previous imsg diff. With my imsg diff allocation are always zeroed so no need to call imsg_zero(). In ibuf_r