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

Unified Diff: remoting/host/token_validator_base.cc

Issue 2652353002: Adding logging for third party certifcate tokens (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/token_validator_base.cc
diff --git a/remoting/host/token_validator_base.cc b/remoting/host/token_validator_base.cc
index d461b578b03bbec2e3db52df3628f0d2090dd283..eb4d4894dc80ce6d7698595ceee5ff7ecad3989b 100644
--- a/remoting/host/token_validator_base.cc
+++ b/remoting/host/token_validator_base.cc
@@ -236,6 +236,11 @@ void TokenValidatorBase::ContinueWithCertificate(
net::X509Certificate* client_cert,
net::SSLPrivateKey* client_private_key) {
if (request_) {
+ if (client_cert) {
+ LOG(INFO) << "Using certificate issued by: '"
Lambros 2017/01/25 22:39:31 Use HOST_LOG instead to avoid presubmit errors fro
joedow 2017/01/25 23:33:54 Done.
+ << client_cert->issuer().common_name << "'";
+ }
+
request_->ContinueWithCertificate(client_cert, client_private_key);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698