Bustage fix

git-svn-id: svn://10.0.0.236/trunk@229748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sdwilsh%shawnwilsher.com 2007-07-11 21:20:11 +00:00
parent 3b756b46b9
commit 075b7713cb

View File

@ -618,12 +618,12 @@ nsPrincipal::GetHashValue(PRUint32* aValue)
// If there is a certificate, it takes precendence over the codebase.
if (mCert) {
*aValue = nsCRT::HashCode(mCert->fingerprint.get(), nsnull);
*aValue = nsCRT::HashCode(mCert->fingerprint.get());
}
else {
nsCAutoString str;
mCodebase->GetSpec(str);
*aValue = nsCRT::HashCode(str.get(), nsnull);
*aValue = nsCRT::HashCode(str.get());
}
return NS_OK;