Bustage fix
git-svn-id: svn://10.0.0.236/trunk@229748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3b756b46b9
commit
075b7713cb
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user