-/* $OpenBSD: extern.h,v 1.148 2022/08/17 11:57:46 job Exp $ */
+/* $OpenBSD: extern.h,v 1.149 2022/08/18 15:20:27 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
RTYPE_CER,
RTYPE_CRL,
RTYPE_GBR,
- RTYPE_ASPA,
RTYPE_REPO,
RTYPE_FILE,
RTYPE_RSC,
-/* $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>
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;
}
/*
- * 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
type = rtype_from_file_extension(fn);
switch (type) {
- case RTYPE_ASPA:
case RTYPE_CER:
case RTYPE_CRL:
case RTYPE_GBR: