summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/mft.c
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2022-08-18 15:20:28 +0000
committerJob Snijders <job@cvs.openbsd.org>2022-08-18 15:20:28 +0000
commit98020cd9bff46a62bdf748f648e093fb166e0c4b (patch)
treec2dcb59637473a50616ef8eeef0f98098f19cadb /usr.sbin/rpki-client/mft.c
parent17443a10139efb41baba78a74cf9ec576c12ad42 (diff)
Remove dangling ASPA references until we land real support
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r--usr.sbin/rpki-client/mft.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c
index deca26d965e..64477b10eb4 100644
--- a/usr.sbin/rpki-client/mft.c
+++ b/usr.sbin/rpki-client/mft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mft.c,v 1.72 2022/06/10 10:41:09 tb Exp $ */
+/* $OpenBSD: mft.c,v 1.73 2022/08/18 15:20:27 job Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -164,8 +164,6 @@ rtype_from_file_extension(const char *fn)
return RTYPE_ROA;
if (strcasecmp(fn + sz - 4, ".gbr") == 0)
return RTYPE_GBR;
- if (strcasecmp(fn + sz - 4, ".asa") == 0)
- return RTYPE_ASPA;
if (strcasecmp(fn + sz - 4, ".sig") == 0)
return RTYPE_RSC;
@@ -193,7 +191,7 @@ valid_mft_filename(const char *fn, size_t len)
}
/*
- * Check that the file is an ASPA, CER, CRL, GBR or a ROA.
+ * Check that the file is an CER, CRL, GBR or a ROA.
* Returns corresponding rtype or RTYPE_INVALID on error.
*/
static enum rtype
@@ -203,7 +201,6 @@ rtype_from_mftfile(const char *fn)
type = rtype_from_file_extension(fn);
switch (type) {
- case RTYPE_ASPA:
case RTYPE_CER:
case RTYPE_CRL:
case RTYPE_GBR: