diff options
author | Martin Willi <martin@strongswan.org> | 2006-05-30 13:00:18 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-05-30 13:00:18 +0000 |
commit | 0773bdcf3fe30c66a8ed527e217eae7443b20b85 (patch) | |
tree | cd128062d800453b64d5bec01c95faaa77942434 /src/charon/testing/connection_test.c | |
parent | 6d5e617f7db567509dc33d1e16b6666a4110a0f8 (diff) | |
download | strongswan-0773bdcf3fe30c66a8ed527e217eae7443b20b85.tar.bz2 strongswan-0773bdcf3fe30c66a8ed527e217eae7443b20b85.tar.xz |
- included charons module tests to build & dist
Diffstat (limited to 'src/charon/testing/connection_test.c')
-rw-r--r-- | src/charon/testing/connection_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/charon/testing/connection_test.c b/src/charon/testing/connection_test.c index 6b12afc1d..9478b0e57 100644 --- a/src/charon/testing/connection_test.c +++ b/src/charon/testing/connection_test.c @@ -33,9 +33,7 @@ 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("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); + connection_t *connection = connection_create("alice-bob", TRUE, alice, bob, RSA_DIGITAL_SIGNATURE); proposal_t *prop1, *prop2, *prop3, *prop4; linked_list_t *list; |