aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/testing/child_sa_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/testing/child_sa_test.c')
-rw-r--r--src/charon/testing/child_sa_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/charon/testing/child_sa_test.c b/src/charon/testing/child_sa_test.c
index 2c318a624..e45e33e08 100644
--- a/src/charon/testing/child_sa_test.c
+++ b/src/charon/testing/child_sa_test.c
@@ -6,6 +6,7 @@
*/
/*
+ * Copyright (C) 2006 Tobias Brunner, Daniel Roethlisberger
* Copyright (C) 2005 Jan Hutter, Martin Willi
* Hochschule fuer Technik Rapperswil
*
@@ -34,6 +35,7 @@ void test_child_sa(protected_tester_t *tester)
{
proposal_t *proposal1, *proposal2;
linked_list_t *list;
+ connection_t *connection;
host_t *local_me, *remote_me;
host_t *local_other, *remote_other;
child_sa_t *local_sa, *remote_sa;
@@ -49,8 +51,8 @@ void test_child_sa(protected_tester_t *tester)
remote_me = host_create(AF_INET, "192.168.0.3", 0);
remote_other = host_create(AF_INET, "192.168.0.4", 0);
- local_sa = child_sa_create(0, local_me, local_other, 5, 10);
- remote_sa = child_sa_create(0, remote_me, remote_other, 5, 10);
+ local_sa = child_sa_create(0, local_me, local_other, 5, 10, FALSE);
+ remote_sa = child_sa_create(0, remote_me, remote_other, 5, 10, FALSE);
proposal1 = proposal_create(PROTO_ESP);
proposal1->add_algorithm(proposal1, ENCRYPTION_ALGORITHM, ENCR_AES_CBC, 16);