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

Unified Diff: chromeos/network/network_connection_handler.cc

Issue 23583018: Check configuration for networks without UIData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
Index: chromeos/network/network_connection_handler.cc
diff --git a/chromeos/network/network_connection_handler.cc b/chromeos/network/network_connection_handler.cc
index 151d8f64d5608cea117da3d4ff5abf7cadf47df2..e664a6af3397ce6be9f354986eb44b8313d773ec 100644
--- a/chromeos/network/network_connection_handler.cc
+++ b/chromeos/network/network_connection_handler.cc
@@ -451,6 +451,13 @@ void NetworkConnectionHandler::VerifyConfiguredAndConnect(
ErrorCallbackForPendingRequest(service_path, kErrorCertificateRequired);
return;
}
+ } else {
pneubeck (no reviews) 2013/08/31 05:31:30 NIT: 'else if' and comment inside the clause.
stevenjb 2013/09/03 22:33:05 Done.
pneubeck (no reviews) 2013/09/04 08:40:00 See my new comments above. I think, in this branch
stevenjb 2013/09/04 17:58:13 So it sounds like for OpenVPN we never really know
+ // Certificate is not configured in ui_data, check properties.
+ if (!client_cert::IsCertificateConfigured(
+ client_cert_type, service_properties)) {
+ ErrorCallbackForPendingRequest(service_path, kErrorCertificateRequired);
+ return;
+ }
}
// The network may not be 'Connectable' because the TPM properties are not
« chromeos/network/client_cert_util.cc ('K') | « chromeos/network/client_cert_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698