зеркало из https://github.com/mozilla/gecko-dev.git
Bug 946075 - Remove extra space from ssl_error_bad_cert_domain error message contains in TransportSecurityInfo.cpp. r=dkeeler
This commit is contained in:
Родитель
46a51e4e02
Коммит
76f959e6f5
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче