mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #5618 from lealem47/dc
Fix for incorrect DN NID and confusion with DCpull/5622/head
commit
f271bef7b5
|
@ -11962,8 +11962,8 @@ static int get_dn_attr_by_nid(int n, const char** buf)
|
||||||
str = "initials";
|
str = "initials";
|
||||||
len = 8;
|
len = 8;
|
||||||
break;
|
break;
|
||||||
case NID_distinguishedName:
|
case NID_domainComponent:
|
||||||
str = "DN";
|
str = "DC";
|
||||||
len = 2;
|
len = 2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -798,7 +798,6 @@ enum
|
||||||
NID_inhibit_any_policy = 168, /* 2.5.29.54 */
|
NID_inhibit_any_policy = 168, /* 2.5.29.54 */
|
||||||
NID_tlsfeature = 1020, /* id-pe 24 */
|
NID_tlsfeature = 1020, /* id-pe 24 */
|
||||||
NID_buildingName = 1494,
|
NID_buildingName = 1494,
|
||||||
NID_distinguishedName = 25,
|
|
||||||
|
|
||||||
NID_dnQualifier = 174, /* 2.5.4.46 */
|
NID_dnQualifier = 174, /* 2.5.4.46 */
|
||||||
NID_commonName = 14, /* CN Changed to not conflict
|
NID_commonName = 14, /* CN Changed to not conflict
|
||||||
|
|
Loading…
Reference in New Issue