summaryrefslogtreecommitdiff
path: root/remove-internal-plugin-certs.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-03-24 10:51:40 -0400
committerB. Stack <bgstack15@gmail.com>2022-03-24 10:51:40 -0400
commit630002c8b3fc4c93cbf7d326eec3d0c4b18639a3 (patch)
tree456d58a02c5d3064a206b424fe8f9b57365d17a5 /remove-internal-plugin-certs.patch
parentAdded 0001-GLIBCXX-fix-for-GCC-12.patch back due to gcc failure (diff)
downloadlibrewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.tar.gz
librewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.tar.bz2
librewolf-fedora-ff-630002c8b3fc4c93cbf7d326eec3d0c4b18639a3.zip
98.0 attempt 1
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