0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
LibreWolf/patches/sed-patches/remove-internal-plugin-certs.patch
2021-11-20 07:31:09 +01:00

18 lines
751 B
Diff

diff --git a/toolkit/mozapps/extensions/internal/XPIInstall.jsm b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
index 698cd67..5b899d9 100644
--- a/toolkit/mozapps/extensions/internal/XPIInstall.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIInstall.jsm
@@ -832,11 +832,11 @@ function getSignedStatus(aRv, aCert, aAddonID) {
}
if (aCert.organizationalUnit == "Mozilla Components") {
- return AddonManager.SIGNEDSTATE_SYSTEM;
+ return AddonManager.SIGNEDSTATE_SIGNED;
}
if (aCert.organizationalUnit == "Mozilla Extensions") {
- return AddonManager.SIGNEDSTATE_PRIVILEGED;
+ return AddonManager.SIGNEDSTATE_SIGNED;
}
return /preliminary/i.test(aCert.organizationalUnit)