summaryrefslogtreecommitdiffstats
path: root/net/base/ssl_config_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/ssl_config_service.cc')
-rw-r--r--net/base/ssl_config_service.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/base/ssl_config_service.cc b/net/base/ssl_config_service.cc
index 67ed45f..fb85665 100644
--- a/net/base/ssl_config_service.cc
+++ b/net/base/ssl_config_service.cc
@@ -55,4 +55,16 @@ bool SSLConfigService::IsKnownStrictTLSServer(const std::string& hostname) {
return false;
}
+static bool g_dnssec_enabled = false;
+
+// static
+void SSLConfigService::EnableDNSSEC() {
+ g_dnssec_enabled = true;
+}
+
+// static
+bool SSLConfigService::dnssec_enabled() {
+ return g_dnssec_enabled;
+}
+
} // namespace net