Comment-only fixes I forgot to make. Bug 240661.

git-svn-id: svn://10.0.0.236/trunk@176464 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-07-22 20:49:12 +00:00
parent 42607860a5
commit 55a6daf516
2 changed files with 2 additions and 2 deletions

View File

@@ -430,7 +430,7 @@ private:
CreateCodebasePrincipal(nsIURI* aURI, nsIPrincipal** result);
// This is just like the API method, but it doesn't check that the subject
// name is nonempty or aCertificate is non-null, and it doesn't change the
// name is non-empty or aCertificate is non-null, and it doesn't change the
// certificate in the table (if any) in any way if aModifyTable is false.
nsresult
DoGetCertificatePrincipal(const nsACString& aCertFingerprint,

View File

@@ -248,7 +248,7 @@ nsPrincipal::Equals(nsIPrincipal *aOther, PRBool *aResult)
// If either subject name is empty, just let the result stand (so that
// nsScriptSecurityManager::SetCanEnableCapability works), but if they're
// both nonempty, only claim equality if they're equal.
// both non-empty, only claim equality if they're equal.
if (*aResult && !mCert->subjectName.IsEmpty()) {
// Check the other principal's subject name
aOther->GetSubjectName(str);