Skip to content
Snippets Groups Projects
Verified Commit 1a81a5cc authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 4234: Use the Firefox Update Process for Tor Browser.

Bug 41668: Port some updater patches to Base Browser

Move the check on the update package version to this other commit.
parent bd011d63
1 merge request!576Bug 41668 (part 1): Split 13379 again, and a couple of improvements on it
......@@ -2807,8 +2807,14 @@ static void UpdateThreadFunc(void* param) {
if (ReadMARChannelIDs(updateSettingsPath, &MARStrings) != OK) {
rv = UPDATE_SETTINGS_FILE_CHANNEL;
} else {
# ifdef BASE_BROWSER_VERSION_QUOTED
// Use the base browser version to prevent downgrade attacks.
const char* appVersion = BASE_BROWSER_VERSION_QUOTED;
# else
const char* appVersion = MOZ_APP_VERSION;
# endif
rv = gArchiveReader.VerifyProductInformation(
MARStrings.MARChannelID.get(), MOZ_APP_VERSION);
MARStrings.MARChannelID.get(), appVersion);
}
}
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment