Open both the cachedir and outputdir early and use fchdir(2) to
authorclaudio <claudio@openbsd.org>
Tue, 2 Mar 2021 09:08:59 +0000 (09:08 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 2 Mar 2021 09:08:59 +0000 (09:08 +0000)
commitb015ea5655e7ff696d8c3d37ddc315da58583adf
tree5509b0f7b4e735de96a885627f7b63a3fcd99593
parent11e5e285d9ab05a37fb14f34471a400ad8d56955
Open both the cachedir and outputdir early and use fchdir(2) to
switch between the two.
OK deraadt@ job@
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/output.c