From 92f1da191dd6c8680b26be59b9570373cc287d60 Mon Sep 17 00:00:00 2001 From: "mitesh%netscape.com" Date: Tue, 18 Sep 2001 22:05:57 +0000 Subject: [PATCH] Fix for bug 80789 Changing hashing algorithm for netscape.cfg r=bnesse and sr=alecf checking in for chipc@netscape.com --- modules/libpref/src/nsPrefService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/libpref/src/nsPrefService.cpp b/modules/libpref/src/nsPrefService.cpp index fce7a38dc0ae..6b8c8b84da59 100644 --- a/modules/libpref/src/nsPrefService.cpp +++ b/modules/libpref/src/nsPrefService.cpp @@ -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;