Kaydet (Commit) fa290c75 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann Kaydeden (comit) Caolán McNamara

Resolves: #i123744# correct consideration of Subject Alternative Name...

field of the given certificate

(cherry picked from commit 11721848)

Change-Id: I81fbb49593b15edea2509aed81b252c8e5b0cd82
üst c49543cf
......@@ -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];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment