[tbb-commits] [tor-browser/tor-browser-60.2.0esr-8.0-1] fixup! Bug 27220 - Don't verify signature for Tor Button

gk at torproject.org gk at torproject.org
Tue Sep 18 09:04:30 UTC 2018


commit ba30179040d81bdd4e326c710d7893eeb8c2a8c6
Author: Georg Koppen <gk at torproject.org>
Date:   Tue Sep 18 09:02:52 2018 +0000

    fixup! Bug 27220 - Don't verify signature for Tor Button
    
    Fixes bug 27763.
---
 toolkit/mozapps/extensions/internal/XPIInstall.jsm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/toolkit/mozapps/extensions/internal/XPIInstall.jsm b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
index c696efc6fa57..40b3b1d6434e 100644
--- a/toolkit/mozapps/extensions/internal/XPIInstall.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
@@ -1029,7 +1029,8 @@ function getSignedStatus(aRv, aCert, aAddonID) {
 }
 
 function shouldVerifySignedState(aAddon) {
-  if (aAddon.id === "torbutton at torproject.org") {
+  if (AppConstants.platform === "android" &&
+      aAddon.id === "torbutton at torproject.org") {
     return false;
   }
 



More information about the tbb-commits mailing list