summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-06-08 13:29:55 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-06-08 13:29:55 +0000
commitc1a95469893cc0c38a9379bad08f37e756a9a55d (patch)
tree611fa1eb9517085eb9a26fd7438b823ff69fb89a /usr.sbin/rpki-client
parent554dcc3bccb5c72ff2289925b3854e0bbddb8d37 (diff)
Extend the cert_purpose enum
This adds a TA and an EE purpose to be used in upcoming commits. ok job
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r--usr.sbin/rpki-client/extern.h6
1 files 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 <kristaps@bsd.lv>
*
@@ -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,
};
/*