summaryrefslogtreecommitdiffstats
path: root/chromeos/test/data/network
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-12 22:12:26 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-12 22:12:26 +0000
commitcb7ca5fe25f58e759962c3929b3803ecd6ee31b3 (patch)
tree6363b95b0dc73ebd13e6a36f9657e0404320b45e /chromeos/test/data/network
parentf3b954afe7f8bb097ca40c9677191d9bdde6d80c (diff)
downloadchromium_src-cb7ca5fe25f58e759962c3929b3803ecd6ee31b3.zip
chromium_src-cb7ca5fe25f58e759962c3929b3803ecd6ee31b3.tar.gz
chromium_src-cb7ca5fe25f58e759962c3929b3803ecd6ee31b3.tar.bz2
Fix error in Shill to ONC translation.
Since the addition of CA certificate PEMs, the test of the Shill to ONC translation of OpenVPN networks logged an error. This commit fixes this error and adds another test of the Shill to ONC translation of WiFi with EAP. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/22837002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217095 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/test/data/network')
-rw-r--r--chromeos/test/data/network/translation_of_shill_openvpn.onc1
-rw-r--r--chromeos/test/data/network/translation_of_shill_wifi_clientcert.onc9
2 files changed, 10 insertions, 0 deletions
diff --git a/chromeos/test/data/network/translation_of_shill_openvpn.onc b/chromeos/test/data/network/translation_of_shill_openvpn.onc
index 4fdc949d..b9d3fd6 100644
--- a/chromeos/test/data/network/translation_of_shill_openvpn.onc
+++ b/chromeos/test/data/network/translation_of_shill_openvpn.onc
@@ -21,6 +21,7 @@
"RemoteCertTLS": "server",
"RenegSec": 0,
"SaveCredentials": false,
+ "ServerCAPEMs": [ "pem1", "pem2" ],
"ServerPollTimeout": 10,
"StaticChallenge": "Please enter token OTP",
"TLSAuthContents": "-----BEGIN OpenVPN Static key V1-----\n83f8e7ccd99be189b4663e18615f9166\nd885cdea6c8accb0ebf5be304f0b8081\n5404f2a6574e029815d7a2fb65b83d0c\n676850714c6a56b23415a78e06aad6b1\n34900dd512049598382039e4816cb5ff\n1848532b71af47578c9b4a14b5bca49f\n99e0ae4dae2f4e5eadfea374aeb8fb1e\na6fdf02adc73ea778dfd43d64bf7bc75\n7779d629498f8c2fbfd32812bfdf6df7\n8cebafafef3e5496cb13202274f2768a\n1959bc53d67a70945c4c8c6f34b63327\nfb60dc84990ffec1243461e0b6310f61\ne90aee1f11fb6292d6f5fcd7cd508aab\n50d80f9963589c148cb4b933ec86128d\ned77d3fad6005b62f36369e2319f52bd\n09c6d2e52cce2362a05009dc29b6b39a\n-----END OpenVPN Static key V1-----\n",
diff --git a/chromeos/test/data/network/translation_of_shill_wifi_clientcert.onc b/chromeos/test/data/network/translation_of_shill_wifi_clientcert.onc
new file mode 100644
index 0000000..cd01e6d
--- /dev/null
+++ b/chromeos/test/data/network/translation_of_shill_wifi_clientcert.onc
@@ -0,0 +1,9 @@
+{
+ "GUID":"{77db0089-0bc8-4358-929c-123xcv}",
+ "Name":"",
+ "Type":"WiFi",
+ "WiFi":{
+ "SSID":"SomeWifi-XY",
+ "Security":"WPA-EAP"
+ }
+}