krb5.h: define DOMAIN_X500_COMPRESS macro

db7763ca7b
("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
This commit is contained in:
Jeffrey Altman
2022-01-14 12:46:08 -05:00
parent 05781f22ab
commit 3a7c2c6a7f

View File

@@ -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,