Use new ibuf API in rpki-client.
authorclaudio <claudio@openbsd.org>
Tue, 20 Jun 2023 15:15:14 +0000 (15:15 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 20 Jun 2023 15:15:14 +0000 (15:15 +0000)
commitcf954fffd137c52451bba3ca43e43cbfce3ab2a2
tree528beffce51f2768899ced90af9f560e37c7a00a
parenta67807ea72a8d42d30e5fc4a34481d39558d3cb8
Use new ibuf API in rpki-client.

Use ibuf_fd_get/set/avail in the file descriptor passing code.
Switch some ibuf_seek() calls to ibuf_set() and use ibuf_add_zero() instead
of ibuf_reserve().
OK tb@ job@
usr.sbin/rpki-client/http.c
usr.sbin/rpki-client/io.c
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/rrdp.c