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

Unified Diff: chromeos/network/onc/onc_validator.cc

Issue 1137633003: Add ONC property for EAP-GTC authentication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to onc_constants.h Created 5 years, 7 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 | « chromeos/network/onc/onc_translation_tables.cc ('k') | components/onc/docs/onc_spec.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_validator.cc
diff --git a/chromeos/network/onc/onc_validator.cc b/chromeos/network/onc/onc_validator.cc
index e3ea49a9daf7404cb2e3f39d054960075f227645..4e2e732073a7c6ddf72f555467019ed536aed846 100644
--- a/chromeos/network/onc/onc_validator.cc
+++ b/chromeos/network/onc/onc_validator.cc
@@ -880,7 +880,8 @@ bool Validator::ValidateProxyLocation(base::DictionaryValue* result) {
bool Validator::ValidateEAP(base::DictionaryValue* result) {
using namespace ::onc::eap;
- const char* const kValidInnerValues[] = {kAutomatic, kMD5, kMSCHAPv2, kPAP};
+ const char* const kValidInnerValues[] = {
+ kAutomatic, kGTC, kMD5, kMSCHAPv2, kPAP};
const std::vector<const char*> valid_inner_values(
toVector(kValidInnerValues));
const char* const kValidOuterValues[] = {
« no previous file with comments | « chromeos/network/onc/onc_translation_tables.cc ('k') | components/onc/docs/onc_spec.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698