mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Bustage fix
This commit is contained in:
parent
0240a7e8d9
commit
681c6747e8
@ -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