diff options
| author | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-08-25 13:52:26 +0000 |
|---|---|---|
| committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-08-25 13:52:26 +0000 |
| commit | bafb2208570d87f9a39c4a48ae8e6fc55ecb7bc9 (patch) | |
| tree | dcb3bb59205b39087f25a2e78f93377f2c2f902f /testing/tests/sql | |
| parent | 3c87e926951862d0311c16e8c282cb8632f9f5e2 (diff) | |
| download | strongswan-bafb2208570d87f9a39c4a48ae8e6fc55ecb7bc9.tar.bz2 strongswan-bafb2208570d87f9a39c4a48ae8e6fc55ecb7bc9.tar.xz | |
adapted sql/rw-eap-aka-rsa scenario to new EAP identity type
Diffstat (limited to 'testing/tests/sql')
| -rw-r--r-- | testing/tests/sql/rw-eap-aka-rsa/hosts/carol/etc/ipsec.d/data.sql | 16 | ||||
| -rw-r--r-- | testing/tests/sql/rw-eap-aka-rsa/hosts/moon/etc/ipsec.d/data.sql | 14 |
2 files changed, 24 insertions, 6 deletions
diff --git a/testing/tests/sql/rw-eap-aka-rsa/hosts/carol/etc/ipsec.d/data.sql b/testing/tests/sql/rw-eap-aka-rsa/hosts/carol/etc/ipsec.d/data.sql index ab92271a2..f160fe1d7 100644 --- a/testing/tests/sql/rw-eap-aka-rsa/hosts/carol/etc/ipsec.d/data.sql +++ b/testing/tests/sql/rw-eap-aka-rsa/hosts/carol/etc/ipsec.d/data.sql @@ -24,6 +24,18 @@ INSERT INTO identities ( 2, X'6d6f6f6e2e7374726f6e677377616e2e6f7267' ); +INSERT INTO identities ( + type, data +) VALUES ( /* carol@strongswan.org as an EAP identity */ + 205, X'6361726f6c407374726f6e677377616e2e6f7267' + ); + +INSERT INTO identities ( + type, data +) VALUES ( /* moon.strongswan.org as an EAP identity */ + 205, X'6d6f6f6e2e7374726f6e677377616e2e6f7267' + ); + /* Certificates */ INSERT INTO certificates ( @@ -55,13 +67,13 @@ INSERT INTO shared_secrets ( INSERT INTO shared_secret_identity ( shared_secret, identity ) VALUES ( - 1, 3 + 1, 5 ); INSERT INTO shared_secret_identity ( shared_secret, identity ) VALUES ( - 1, 4 + 1, 6 ); /* Configurations */ diff --git a/testing/tests/sql/rw-eap-aka-rsa/hosts/moon/etc/ipsec.d/data.sql b/testing/tests/sql/rw-eap-aka-rsa/hosts/moon/etc/ipsec.d/data.sql index f792ee020..153c454a9 100644 --- a/testing/tests/sql/rw-eap-aka-rsa/hosts/moon/etc/ipsec.d/data.sql +++ b/testing/tests/sql/rw-eap-aka-rsa/hosts/moon/etc/ipsec.d/data.sql @@ -32,8 +32,14 @@ INSERT INTO identities ( INSERT INTO identities ( type, data -) VALUES ( /* carol@strongswan.org */ - 3, X'6361726f6c407374726f6e677377616e2e6f7267' +) VALUES ( /* moon.strongswan.org as an EAP identity */ + 205, X'6d6f6f6e2e7374726f6e677377616e2e6f7267' + ); + +INSERT INTO identities ( + type, data +) VALUES ( /* carol@strongswan.org as an EAP identity */ + 205, X'6361726f6c407374726f6e677377616e2e6f7267' ); /* Certificates */ @@ -105,13 +111,13 @@ INSERT INTO shared_secrets ( INSERT INTO shared_secret_identity ( shared_secret, identity ) VALUES ( - 1, 3 + 1, 6 ); INSERT INTO shared_secret_identity ( shared_secret, identity ) VALUES ( - 1, 6 + 1, 7 ); /* Configurations */ |
