Bustage fix

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-07-11 14:20:11 -07:00
parent a5ca1451f3
commit d8e0b2e9bf

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;