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

Unified Diff: net/cert/cert_verify_result.h

Issue 949633002: Include both certificate chains in invalid cert reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a comment to cert logger pb Created 5 years, 10 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
Index: net/cert/cert_verify_result.h
diff --git a/net/cert/cert_verify_result.h b/net/cert/cert_verify_result.h
index 9e6732552932b84e1d962becad0e508848d3c213..01caf2a074cff0eabd27f38284fb7942ae9ca5fa 100644
--- a/net/cert/cert_verify_result.h
+++ b/net/cert/cert_verify_result.h
@@ -37,6 +37,9 @@ class NET_EXPORT CertVerifyResult {
// running within the sandbox.
scoped_refptr<X509Certificate> verified_cert;
+ // The certificate and chain as sent by the server.
+ scoped_refptr<X509Certificate> unverified_server_cert;
Ryan Sleevi 2015/02/25 23:15:41 This doesn't seem like it belongs in the CertVerif
+
// Bitmask of CERT_STATUS_* from net/base/cert_status_flags.h. Note that
// these status flags apply to the certificate chain returned in
// |verified_cert|, rather than the originally supplied certificate

Powered by Google App Engine
This is Rietveld 408576698