mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1549015 - Removes privilegedPackageRoot r=keeler
nsIX509CertDB::PrivilegedPackageRoot was added in bug 1178518 to support privileged packaged apps for Firefox OS. However, we no longer need to support this use-case. Differential Revision: https://phabricator.services.mozilla.com/D38655 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
094f958c69
commit
e58c39f78e
@ -24,8 +24,6 @@
|
||||
#include "addons-public.inc"
|
||||
#include "addons-public-intermediate.inc"
|
||||
#include "addons-stage.inc"
|
||||
// Privileged Package Certificates
|
||||
#include "privileged-package-root.inc"
|
||||
|
||||
using namespace mozilla::pkix;
|
||||
|
||||
@ -59,11 +57,6 @@ nsresult AppTrustDomain::SetTrustedRoot(AppTrustedRoot trustedRoot) {
|
||||
trustedDER.len = mozilla::ArrayLength(addonsStageRoot);
|
||||
break;
|
||||
|
||||
case nsIX509CertDB::PrivilegedPackageRoot:
|
||||
trustedDER.data = const_cast<uint8_t*>(privilegedPackageRoot);
|
||||
trustedDER.len = mozilla::ArrayLength(privilegedPackageRoot);
|
||||
break;
|
||||
|
||||
default:
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
|
@ -34,7 +34,6 @@ array_names = [
|
||||
'addonsPublicRoot',
|
||||
'addonsPublicIntermediate',
|
||||
'addonsStageRoot',
|
||||
'privilegedPackageRoot',
|
||||
]
|
||||
|
||||
for n in array_names:
|
||||
|
@ -41,7 +41,6 @@ headers_arrays_certs = [
|
||||
('addons-public.inc', 'addonsPublicRoot', 'addons-public.crt'),
|
||||
('addons-public-intermediate.inc', 'addonsPublicIntermediate', 'addons-public-intermediate.crt'),
|
||||
('addons-stage.inc', 'addonsStageRoot', 'addons-stage.crt'),
|
||||
('privileged-package-root.inc', 'privilegedPackageRoot', 'privileged-package-root.der'),
|
||||
]
|
||||
|
||||
for header, array_name, cert in headers_arrays_certs:
|
||||
|
Binary file not shown.
@ -250,7 +250,6 @@ interface nsIX509CertDB : nsISupports {
|
||||
const AppTrustedRoot AppXPCShellRoot = 6;
|
||||
const AppTrustedRoot AddonsPublicRoot = 7;
|
||||
const AppTrustedRoot AddonsStageRoot = 8;
|
||||
const AppTrustedRoot PrivilegedPackageRoot = 9;
|
||||
[must_use]
|
||||
void openSignedAppFileAsync(in AppTrustedRoot trustedRoot,
|
||||
in nsIFile aJarFile,
|
||||
|
Loading…
Reference in New Issue
Block a user