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

Unified Diff: net/base/cert_verify_result.h

Issue 10836150: Revert 150375 - Implement SHA-256 fingerprint support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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_proc_win.cc ('k') | net/base/cert_verify_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verify_result.h
===================================================================
--- net/base/cert_verify_result.h (revision 150506)
+++ net/base/cert_verify_result.h (working copy)
@@ -45,15 +45,10 @@
bool has_md5_ca;
bool has_md2_ca;
- // If the certificate was successfully verified then this contains the
- // fingerprints, in several hash algorithms, of the SubjectPublicKeyInfos
- // of the chain. The fingerprint from the leaf certificate will be the
- // first element of each sub-vector.
- //
- // This is a vector of vectors: Index the outer vector with
- // FingerprintTag, and then the inner HashValueVectors will be
- // fingerprints made with the algorithm named by the FingerprintTag.
- std::vector<HashValueVector> public_key_hashes;
+ // If the certificate was successfully verified then this contains the SHA1
+ // fingerprints of the SubjectPublicKeyInfos of the chain. The fingerprint
+ // from the leaf certificate will be the first element of the vector.
+ std::vector<SHA1Fingerprint> public_key_hashes;
// is_issued_by_known_root is true if we recognise the root CA as a standard
// root. If it isn't then it's probably the case that this certificate was
« no previous file with comments | « net/base/cert_verify_proc_win.cc ('k') | net/base/cert_verify_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698