Adjust code to handle unsupported file types a bit more graceful.
authorclaudio <claudio@openbsd.org>
Mon, 24 Jan 2022 17:29:37 +0000 (17:29 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 24 Jan 2022 17:29:37 +0000 (17:29 +0000)
commit685326f577699a2825c7cffa411d788b88c0d866
tree133001550f3ee789abc06c3e63b46e6395a0fa9b
parent4faff9c78fe1415dd1968fe11bb0e076b275e8bc
Adjust code to handle unsupported file types a bit more graceful.
The file still needs to match its hash to make the MFT valid but then
there will only be a warning printed. Parsing of other files from that
MFT are not influenced.
OK tb@
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/mft.c
usr.sbin/rpki-client/parser.c