mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Fix for bug 80789 Changing hashing algorithm for netscape.cfg
r=bnesse and sr=alecf checking in for chipc@netscape.com
This commit is contained in:
parent
0d9020937e
commit
92f1da191d
@ -446,8 +446,8 @@ static nsresult openPrefFileSpec(nsIFileSpec* aFilespec, PRBool aIsErrorFatal, P
|
||||
|
||||
long fileLength = PL_strlen(readBuf);
|
||||
if (aVerifyHash) {
|
||||
const int obscure_value = 7;
|
||||
// Unobscure file by subtracting some value from every char.
|
||||
const int obscure_value = 13;
|
||||
// Unobscure file by subtracting some value from every char - old value was 7
|
||||
long i;
|
||||
for (i = 0; i < fileLength; i++)
|
||||
readBuf[i] -= obscure_value;
|
||||
|
Loading…
Reference in New Issue
Block a user