From 3a7c2c6a7f6087ee822c25348a5bda2031ff1829 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 14 Jan 2022 12:46:08 -0500 Subject: [PATCH] krb5.h: define DOMAIN_X500_COMPRESS macro db7763ca7b3958a7008500eff0d5dcdb2ba87ce4 ("asn1: X.681/682/683 magic handling of open types") renamed 'DOMAIN_X500_COMPRESS' to 'domain_X500_Compress' for compliance with ASN.1 which requires values to start with lower case and types to start with upper case. This change adds a CPP macro DOMAIN_X500_COMPRESS for use by third-party applications that rely upon the prior name. Change-Id: I2eb6fec2c795c8adeeef893b00909a202257ad74 --- lib/krb5/krb5.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 3950bd30a..1dd30b170 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -169,9 +169,10 @@ enum { ETYPE_DES_PCBC_NONE = KRB5_ENCTYPE_DES_PCBC_NONE, ETYPE_DIGEST_MD5_NONE = KRB5_ENCTYPE_DIGEST_MD5_NONE, ETYPE_CRAM_MD5_NONE = KRB5_ENCTYPE_CRAM_MD5_NONE - }; +#define DOMAIN_X500_COMPRESS domain_X500_compress + /* PDU types */ typedef enum krb5_pdu { KRB5_PDU_ERROR = 0,