From 9216859f7b2d68f819d9b8a8ad53c2f59f3e263f Mon Sep 17 00:00:00 2001 From: "Jonathan M. Wilbur" Date: Thu, 27 Jun 2024 20:29:49 +0000 Subject: feat: support auditIdentity X.509v3 extension Reviewed-by: Tomas Mraz Reviewed-by: Neil Horman Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/24754) --- include/openssl/objects.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/openssl/objects.h b/include/openssl/objects.h index 9ea91c27c8..0275f1d35a 100644 --- a/include/openssl/objects.h +++ b/include/openssl/objects.h @@ -176,6 +176,12 @@ int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); int OBJ_add_sigid(int signid, int dig_id, int pkey_id); void OBJ_sigid_free(void); +/* This is to correct for the auditIdentity OID having been assigned the wrong +name. */ +#define SN_ac_auditIdentity "ac-auditIdentity" +#define LN_ac_auditIdentity LN_ac_auditEntity +#define NID_ac_auditIdentity NID_ac_auditEntity +#define OBJ_ac_auditIdentity OBJ_ac_auditEntity # ifdef __cplusplus } -- cgit v1.2.3