Files
cromite/build/patches/Enable-ECH-by-default.patch
T
2022-11-16 23:43:43 +01:00

26 lines
1.1 KiB
Diff

From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Sun, 30 Oct 2022 18:11:19 +0100
Subject: Enable ECH by default
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
net/base/features.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/base/features.cc b/net/base/features.cc
--- a/net/base/features.cc
+++ b/net/base/features.cc
@@ -116,8 +116,8 @@ const base::Feature kDisableTLSResumption{"DisableTLSResumption",
const base::Feature kLogTLSResumption{"LogTLSResumption",
base::FEATURE_DISABLED_BY_DEFAULT};
-const base::Feature kEncryptedClientHello{"EncryptedClientHello",
- base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kEncryptedClientHello{"EncryptedClientHello", // enabled by default
+ base::FEATURE_ENABLED_BY_DEFAULT}; // in Bromite
const base::Feature kIsCleartextPermitted{"IsCleartextPermitted",
base::FEATURE_ENABLED_BY_DEFAULT};
--
2.25.1