diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-01-24 17:29:38 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-01-24 17:29:38 +0000 |
commit | 356492d1b27d66f102f27bbb5fba7a545d170b8a (patch) | |
tree | 0369f60afbb2600d43f9312ba0f7d76bbdc5c12c /usr.sbin/rpki-client/extern.h | |
parent | 8647ea1cc526709ac02f6a9b0b43b2ffa43a6a03 (diff) |
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@
Diffstat (limited to 'usr.sbin/rpki-client/extern.h')
-rw-r--r-- | usr.sbin/rpki-client/extern.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 <kristaps@bsd.lv> * @@ -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 *); |