Fix for incorrect DN NID and confusion with DC

This commit is contained in:
Lealem Amedie
2022-09-21 13:11:12 -07:00
parent 913bbc8f79
commit f177d9364a
2 changed files with 2 additions and 3 deletions

View File

@ -11962,8 +11962,8 @@ static int get_dn_attr_by_nid(int n, const char** buf)
str = "initials";
len = 8;
break;
case NID_distinguishedName:
str = "DN";
case NID_domainComponent:
str = "DC";
len = 2;
break;
default:

View File

@ -798,7 +798,6 @@ enum
NID_inhibit_any_policy = 168, /* 2.5.29.54 */
NID_tlsfeature = 1020, /* id-pe 24 */
NID_buildingName = 1494,
NID_distinguishedName = 25,
NID_dnQualifier = 174, /* 2.5.4.46 */
NID_commonName = 14, /* CN Changed to not conflict