From 6468d235735a70330c557729d2e8dca816449872 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 8 Jun 2024 13:29:54 +0000 Subject: [PATCH] Extend the cert_purpose enum This adds a TA and an EE purpose to be used in upcoming commits. ok job --- usr.sbin/rpki-client/extern.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h index 446eaf12982..7b431a7d8d2 100644 --- a/usr.sbin/rpki-client/extern.h +++ b/usr.sbin/rpki-client/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.222 2024/06/08 13:28:35 tb Exp $ */ +/* $OpenBSD: extern.h,v 1.223 2024/06/08 13:29:54 tb Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -107,8 +107,10 @@ struct cert_ip { enum cert_purpose { CERT_PURPOSE_INVALID, + CERT_PURPOSE_TA, CERT_PURPOSE_CA, - CERT_PURPOSE_BGPSEC_ROUTER + CERT_PURPOSE_EE, + CERT_PURPOSE_BGPSEC_ROUTER, }; /* -- 2.20.1