bug 1597743 - re-enable intermediate preloading (cert_storage) on non-nightly builds r=jcj,kjacobs

Now that rkv has a new backend, we should be able to let this ride the trains
to early beta at least.

Differential Revision: https://phabricator.services.mozilla.com/D53847

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dana Keeler 2019-11-19 21:50:37 +00:00
Родитель ed48f3e76f
Коммит af9edac0e5
3 изменённых файлов: 9 добавлений и 15 удалений

Просмотреть файл

@ -187,10 +187,10 @@ pref("security.pki.mitm_canary_issuer.enabled", true);
pref("security.pki.mitm_detected", false);
// Intermediate CA Preloading settings
#if defined(RELEASE_OR_BETA) || defined(MOZ_WIDGET_ANDROID)
pref("security.remote_settings.intermediates.enabled", false);
#else
#if defined(MOZ_NEW_CERT_STORAGE) && !defined(MOZ_WIDGET_ANDROID)
pref("security.remote_settings.intermediates.enabled", true);
#else
pref("security.remote_settings.intermediates.enabled", false);
#endif
pref("security.remote_settings.intermediates.bucket", "security-state");
pref("security.remote_settings.intermediates.collection", "intermediates");

Просмотреть файл

@ -1661,6 +1661,12 @@ elif test "$EARLY_BETA_OR_EARLIER"; then
fi
AC_SUBST(EARLY_BETA_OR_EARLIER)
if test "$EARLY_BETA_OR_EARLIER"; then
MOZ_NEW_CERT_STORAGE=1
AC_DEFINE(MOZ_NEW_CERT_STORAGE)
fi
AC_SUBST(MOZ_NEW_CERT_STORAGE)
# Allow someone to change MOZ_APP_NAME and MOZ_APP_BASENAME in mozconfig
MOZ_ARG_WITH_STRING(app-name,
[--with-app-name=APPNAME sets MOZ_APP_NAME to APPNAME],

Просмотреть файл

@ -1906,15 +1906,3 @@ def new_notification_store(milestone):
set_config('MOZ_NEW_NOTIFICATION_STORE', True, when=new_notification_store)
set_define('MOZ_NEW_NOTIFICATION_STORE', True, when=new_notification_store)
# new Cert Storage implementation
# ==============================================================
@depends(milestone)
def new_cert_storage(milestone):
if milestone.is_nightly:
return True
set_config('MOZ_NEW_CERT_STORAGE', True, when=new_cert_storage)
set_define('MOZ_NEW_CERT_STORAGE', True, when=new_cert_storage)