summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathan M. Wilbur <jonathan@wilbur.space>2024-06-27 22:29:49 +0200
committerMatt Caswell <matt@openssl.org>2024-08-26 11:38:44 +0200
commit9216859f7b2d68f819d9b8a8ad53c2f59f3e263f (patch)
tree1e49c3a31c8dbdfac8b7fc0eba267bb358bbba9b /include
parentfix: wrong name for OID -> auditIdentity (diff)
downloadopenssl-9216859f7b2d68f819d9b8a8ad53c2f59f3e263f.tar.xz
openssl-9216859f7b2d68f819d9b8a8ad53c2f59f3e263f.zip
feat: support auditIdentity X.509v3 extension
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24754)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/objects.h6
1 files changed, 6 insertions, 0 deletions
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
}