summaryrefslogtreecommitdiff
path: root/remove-internal-plugin-certs.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-05-24 22:23:52 -0400
committerB. Stack <bgstack15@gmail.com>2022-05-24 22:23:52 -0400
commit2e02bfdbb7f225e3619317be008f4429724003f9 (patch)
treef8c63b10b13f32db62785de2bd0fcc839ad9472b /remove-internal-plugin-certs.patch
parentUpdated to 100.0.2 (diff)
downloadlibrewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.tar.gz
librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.tar.bz2
librewolf-fedora-ff-2e02bfdbb7f225e3619317be008f4429724003f9.zip
librewolf 100.0.2 rc1b100.0.2
Diffstat (limited to 'remove-internal-plugin-certs.patch')
-rw-r--r--remove-internal-plugin-certs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/remove-internal-plugin-certs.patch b/remove-internal-plugin-certs.patch
new file mode 100644
index 0000000..72183e2
--- /dev/null
+++ b/remove-internal-plugin-certs.patch
@@ -0,0 +1,18 @@
+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)
bgstack15