summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-ssl.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index d36b3e0ee220..4c10f7ce0465 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -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];
}
}