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

Unified Diff: net/base/cert_verify_result.cc

Issue 10545166: Support SHA-256 in public key pins for HTTPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « net/base/cert_verify_result.h ('k') | net/base/ev_root_ca_metadata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verify_result.cc
===================================================================
--- net/base/cert_verify_result.cc (revision 148967)
+++ net/base/cert_verify_result.cc (working copy)
@@ -24,7 +24,13 @@
has_md5_ca = false;
has_md2_ca = false;
is_issued_by_known_root = false;
+
public_key_hashes.clear();
+ public_key_hashes.reserve(FINGERPRINT_TAGS_COUNT);
+ HashValueVector sha1s;
+ public_key_hashes.push_back(sha1s);
+ HashValueVector sha256s;
+ public_key_hashes.push_back(sha256s);
}
-} // namespace net
+} // namespace net
« no previous file with comments | « net/base/cert_verify_result.h ('k') | net/base/ev_root_ca_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698