Convert to use imsg_get_fd()
authorclaudio <claudio@openbsd.org>
Wed, 17 Jan 2024 08:25:02 +0000 (08:25 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 17 Jan 2024 08:25:02 +0000 (08:25 +0000)
commitfecd42b79d684eb665ce8c88a61411c9ade5f934
tree3eebef4e5701e44d4517124de41367c1fd681378
parent3cc21533749d6d8c9c57a10ab6a6ad2723eb3a0d
Convert to use imsg_get_fd()

proc_forward_imsg() does not need to forward file descriptors so just use
-1 there. In other places shuffle debug messages around or use a helper
variable since imsg_get_fd() can only be called once.

OK tb@ tobhe@
sbin/iked/config.c
sbin/iked/ocsp.c
sbin/iked/proc.c