From 356492d1b27d66f102f27bbb5fba7a545d170b8a Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 24 Jan 2022 17:29:38 +0000 Subject: 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/rpki-client/extern.h') diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h index 66a460c4aea..d4f0f18a629 100644 --- a/usr.sbin/rpki-client/extern.h +++ b/usr.sbin/rpki-client/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.114 2022/01/23 12:09:24 claudio Exp $ */ +/* $OpenBSD: extern.h,v 1.115 2022/01/24 17:29:37 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -422,7 +422,6 @@ struct mft *mft_parse(X509 **, const char *, const unsigned char *, size_t); struct mft *mft_read(struct ibuf *); enum rtype rtype_from_file_extension(const char *); -enum rtype rtype_from_mftfile(const char *); void roa_buffer(struct ibuf *, const struct roa *); void roa_free(struct roa *); -- cgit v1.2.3