aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_network_network__context.cc
blob: fe056ef0561f6909a94de52f6f9d9dec509ed892 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- services/network/network_context.cc.orig	2019-07-24 18:58:34 UTC
+++ services/network/network_context.cc
@@ -1711,7 +1711,7 @@ URLRequestContextOwner NetworkContext::ApplyContextPar
 
     net::CookieCryptoDelegate* crypto_delegate = nullptr;
     if (params_->enable_encrypted_cookies) {
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(IS_CHROMECAST)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) && !defined(IS_CHROMECAST)
       DCHECK(network_service_->os_crypt_config_set())
           << "NetworkService::SetCryptConfig must be called before creating a "
              "NetworkContext with encrypted cookies.";