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

Unified Diff: net/socket/ssl_client_socket_impl.h

Issue 2016143002: Expose when PKP is bypassed in SSLInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make CertVerifyResult Great Again. Created 4 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
Index: net/socket/ssl_client_socket_impl.h
diff --git a/net/socket/ssl_client_socket_impl.h b/net/socket/ssl_client_socket_impl.h
index 5fa33673747417f735365adabc5d4d54601a5853..97fa2929d50d880c857b46bcc5da5043686b64e6 100644
--- a/net/socket/ssl_client_socket_impl.h
+++ b/net/socket/ssl_client_socket_impl.h
@@ -370,6 +370,9 @@ class SSLClientSocketImpl : public SSLClientSocket {
// pinning failure. It is a (somewhat) human-readable string.
std::string pinning_failure_log_;
+ // True if PKP is bypassed due to a local trust anchor.
+ bool pkp_bypassed_;
+
BoundNetLog net_log_;
base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698