зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1126675 - indicate missing issuerName or subjectName as empty string, r=keeler
This commit is contained in:
Родитель
e6495a8e8a
Коммит
36e608ec65
|
@ -972,9 +972,8 @@ nsNSSCertificate::GetSubjectName(nsAString& _subjectName)
|
|||
_subjectName.Truncate();
|
||||
if (mCert->subjectName) {
|
||||
_subjectName = NS_ConvertUTF8toUTF16(mCert->subjectName);
|
||||
return NS_OK;
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -987,9 +986,8 @@ nsNSSCertificate::GetIssuerName(nsAString& _issuerName)
|
|||
_issuerName.Truncate();
|
||||
if (mCert->issuerName) {
|
||||
_issuerName = NS_ConvertUTF8toUTF16(mCert->issuerName);
|
||||
return NS_OK;
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче