Bug 946075 - Remove extra space from ssl_error_bad_cert_domain error message contains in TransportSecurityInfo.cpp. r=dkeeler

This commit is contained in:
Nemina Amarasinghe 2014-01-13 09:28:14 -05:00
Родитель 46a51e4e02
Коммит 76f959e6f5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -705,7 +705,7 @@ GetSubjectAltNames(CERTCertificate *nssCert,
case certDNSName:
name.AssignASCII((char*)current->name.other.data, current->name.other.len);
if (!allNames.IsEmpty()) {
allNames.Append(NS_LITERAL_STRING(" , "));
allNames.Append(NS_LITERAL_STRING(", "));
}
++nameCount;
allNames.Append(name);
@ -730,7 +730,7 @@ GetSubjectAltNames(CERTCertificate *nssCert,
}
if (!name.IsEmpty()) {
if (!allNames.IsEmpty()) {
allNames.Append(NS_LITERAL_STRING(" , "));
allNames.Append(NS_LITERAL_STRING(", "));
}
++nameCount;
allNames.Append(name);