Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: net/http/transport_security_state.cc

Issue 2951343002: Remove residual support for SHA-1 public key pins. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/transport_security_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_state.cc
diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
index e5202c054e3265cb8f1d0e68b24d465fa4b6c773..e68552815b9571c0f98c69aae743ccdc8e49c88a 100644
--- a/net/http/transport_security_state.cc
+++ b/net/http/transport_security_state.cc
@@ -15,7 +15,6 @@
#include "base/memory/ptr_util.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/sparse_histogram.h"
-#include "base/sha1.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
@@ -153,8 +152,7 @@ bool GetHPKPReport(const HostPortPair& host_port_pair,
switch (hash_value.tag) {
case HASH_VALUE_SHA1:
- known_pin += "pin-sha1=";
- break;
+ continue;
davidben 2017/06/22 21:33:47 This is just removing a bit in the reporting side
davidben 2017/06/22 21:51:43 Here's taking it out of parse_ocsp.cc: https://chr
palmer 2017/06/26 21:32:59 Oh, OK, great. I didn't know if you'd want me to r
case HASH_VALUE_SHA256:
known_pin += "pin-sha256=";
break;
« no previous file with comments | « no previous file | net/http/transport_security_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698