mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 08:32:21 +01:00
add NID_domainComponent in X509_NAME_get_text_by_NID
This commit is contained in:
committed by
Jacob Barthelmeh
parent
2fc494f66b
commit
e2a16190a6
@@ -14931,6 +14931,10 @@ static void ExternalFreeX509(WOLFSSL_X509* x509)
|
||||
text = name->fullName.fullName + name->fullName.ouIdx;
|
||||
textSz = name->fullName.ouLen;
|
||||
break;
|
||||
case ASN_DOMAIN_COMPONENT:
|
||||
text = name->fullName.fullName + name->fullName.dcIdx;
|
||||
textSz = name->fullName.dcLen;
|
||||
break;
|
||||
default:
|
||||
WOLFSSL_MSG("Unknown NID value");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user