aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/testing/connection_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-06-20 08:43:57 +0000
committerMartin Willi <martin@strongswan.org>2006-06-20 08:43:57 +0000
commitaed58dcc937fe1c8ab0a1fe952f689a942f966f4 (patch)
tree47eb30fe1c2c4865c776548d683b22f1a04f3d95 /src/charon/testing/connection_test.c
parent76dafed7a79fcb50949b131292958e262fbeb774 (diff)
downloadstrongswan-aed58dcc937fe1c8ab0a1fe952f689a942f966f4.tar.bz2
strongswan-aed58dcc937fe1c8ab0a1fe952f689a942f966f4.tar.xz
readded local_credential_store
added sendcert policy to connection some other cleanups
Diffstat (limited to 'src/charon/testing/connection_test.c')
-rw-r--r--src/charon/testing/connection_test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/charon/testing/connection_test.c b/src/charon/testing/connection_test.c
index 9ba4ef39b..8f4628610 100644
--- a/src/charon/testing/connection_test.c
+++ b/src/charon/testing/connection_test.c
@@ -33,7 +33,10 @@ 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);
- connection_t *connection = connection_create("alice-bob", TRUE, alice, bob, RSA_DIGITAL_SIGNATURE);
+ connection_t *connection = connection_create(
+ "alice-bob", TRUE,
+ CERT_ALWAYS_SEND, CERT_ALWAYS_SEND,
+ alice, bob, RSA_DIGITAL_SIGNATURE);
proposal_t *prop1, *prop2, *prop3, *prop4;
linked_list_t *list;