From 1da5f092255abb00373595810eda3489c500f52c Mon Sep 17 00:00:00 2001
From: Erick Tryzelaar <etryzelaar@google.com>
Date: Mon, 22 Apr 2019 19:48:36 +0000
Subject: [PATCH] [fuchsia-hyper] Disable certificate transparency logs

After some internal discussion, we decided to remove our use
of the ct-logs crate to avoid this dependency from becoming stale.

Bug: DNO-487 #comment disabled ct-logs
Change-Id: I25c8105a3cbeb8336688515da76b5431e7f64098
---
 garnet/public/rust/fuchsia-hyper/BUILD.gn   | 1 -
 garnet/public/rust/fuchsia-hyper/src/lib.rs | 1 -
 2 files changed, 2 deletions(-)

diff --git a/garnet/public/rust/fuchsia-hyper/BUILD.gn b/garnet/public/rust/fuchsia-hyper/BUILD.gn
index e3cefe757bf..232d0f552be 100644
--- a/garnet/public/rust/fuchsia-hyper/BUILD.gn
+++ b/garnet/public/rust/fuchsia-hyper/BUILD.gn
@@ -14,7 +14,6 @@ rustc_library("fuchsia-hyper") {
   deps = [
     "//garnet/lib/rust/webpki-roots-fuchsia",
     "//garnet/public/rust/fuchsia-async",
-    "//third_party/rust_crates:ct-logs",
     "//third_party/rust_crates:futures-preview",
     "//third_party/rust_crates:hyper",
     "//third_party/rust_crates:hyper-rustls",
diff --git a/garnet/public/rust/fuchsia-hyper/src/lib.rs b/garnet/public/rust/fuchsia-hyper/src/lib.rs
index b71fda63838..97c20ee7777 100644
--- a/garnet/public/rust/fuchsia-hyper/src/lib.rs
+++ b/garnet/public/rust/fuchsia-hyper/src/lib.rs
@@ -91,7 +91,6 @@ pub fn new_https_client_dangerous(
 pub fn new_https_client() -> Client<hyper_rustls::HttpsConnector<HyperConnector>, Body> {
     let mut tls = rustls::ClientConfig::new();
     tls.root_store.add_server_trust_anchors(&webpki_roots_fuchsia::TLS_SERVER_ROOTS);
-    tls.ct_logs = Some(&ct_logs::LOGS);
     new_https_client_dangerous(tls)
 }
 
-- 
GitLab