add NID_domainComponent in X509_NAME_get_text_by_NID

This commit is contained in:
Takashi Kojo
2017-02-26 11:00:01 +09:00
committed by Jacob Barthelmeh
parent 2fc494f66b
commit e2a16190a6
3 changed files with 8 additions and 2 deletions

View File

@@ -3902,8 +3902,8 @@ static int GetName(DecodedCert* cert, int nameType)
copy = TRUE;
}
#ifdef OPENSSL_EXTRA
dName->snIdx = cert->srcIdx;
dName->snLen = strLen;
dName->dcIdx = cert->srcIdx;
dName->dcLen = strLen;
#endif /* OPENSSL_EXTRA */
}
if (copy && !tooBig) {