Resolves: #i123744# correct consideration of Subject Alternative Name...
field of the given certificate (cherry picked from commit 117218483797c0aeedef9b68bdae96a727cb3426) Change-Id: I81fbb49593b15edea2509aed81b252c8e5b0cd82
This commit is contained in:
parent
c49543cf31
commit
fa290c7501
1 changed files with 3 additions and 2 deletions
|
@ -296,9 +296,10 @@ handleCertificateValidationRequest_(
|
|||
|
||||
certHostNames[0] = certHostName;
|
||||
|
||||
for(int n = 1; n < altNames.getLength(); n++){
|
||||
for(int n = 0; n < altNames.getLength(); ++n)
|
||||
{
|
||||
if (altNames[n].Type == security::ExtAltNameType_DNS_NAME){
|
||||
altNames[n].Value >>= certHostNames[n];
|
||||
altNames[n].Value >>= certHostNames[n+1];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue