From: tb Date: Sat, 8 Jun 2024 13:29:54 +0000 (+0000) Subject: Extend the cert_purpose enum X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6468d235735a70330c557729d2e8dca816449872;p=openbsd Extend the cert_purpose enum This adds a TA and an EE purpose to be used in upcoming commits. ok job --- 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, }; /*