aboutsummaryrefslogtreecommitdiffstats
path: root/Source/testing/connection_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-24 10:40:10 +0000
committerMartin Willi <martin@strongswan.org>2006-04-24 10:40:10 +0000
commita8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0 (patch)
tree91b37f9344855204233631622d5b13a7056084b1 /Source/testing/connection_test.c
parentfcfeb3220fbd4e25b0ac63c541c18e8ae1f30766 (diff)
downloadstrongswan-a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0.tar.bz2
strongswan-a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0.tar.xz
- identification_t supports now almost all id types
- x509 certificates work with identification_t now - fixes here, fixes there
Diffstat (limited to 'Source/testing/connection_test.c')
-rw-r--r--Source/testing/connection_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/testing/connection_test.c b/Source/testing/connection_test.c
index 909136c01..2b2a4d4d8 100644
--- a/Source/testing/connection_test.c
+++ b/Source/testing/connection_test.c
@@ -33,8 +33,8 @@ void test_connection(protected_tester_t *tester)
{
host_t *alice = host_create(AF_INET, "192.168.0.1", 500);
host_t *bob = host_create(AF_INET, "192.168.0.2", 500);
- identification_t *alice_id = identification_create_from_string(AF_INET, "192.168.0.1");
- identification_t *bob_id = identification_create_from_string(AF_INET, "192.168.0.2");
+ identification_t *alice_id = identification_create_from_string("192.168.0.1");
+ identification_t *bob_id = identification_create_from_string("192.168.0.2");
connection_t *connection = connection_create(alice, bob, alice_id, bob_id, RSA_DIGITAL_SIGNATURE);
proposal_t *prop1, *prop2, *prop3, *prop4;
linked_list_t *list;