Further improve load_file(). Always set an errno on errors and make sure
authorclaudio <claudio@openbsd.org>
Sun, 31 Oct 2021 16:00:14 +0000 (16:00 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 31 Oct 2021 16:00:14 +0000 (16:00 +0000)
commitb3c9c1ce986c132099f868b3b92ae1713c616717
tree0f2d3684bf35264996bea51fcad8e7f9fba4e2fe
parentb0ae5e5023b9eeda4933f7ed701d46157c79d7b7
Further improve load_file(). Always set an errno on errors and make sure
the errno is not clobbered in the error path. Check result from load_file()
and issue a warning and skip the file in queue_add_tal().
OK benno@ beck@
usr.sbin/rpki-client/encoding.c
usr.sbin/rpki-client/main.c