From 16b9a73cc4bd4c4fafc8618fdd4c05ab72195df1 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 16 Mar 2006 15:25:06 +0000 Subject: - reworked configuration framework completly - configuration is now split up in: connections, policies, credentials and daemon config - further alloc/free fixes needed! --- Source/charon/testcases/diffie_hellman_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/charon/testcases/diffie_hellman_test.c') diff --git a/Source/charon/testcases/diffie_hellman_test.c b/Source/charon/testcases/diffie_hellman_test.c index d07f2fc3b..e1e54af41 100644 --- a/Source/charon/testcases/diffie_hellman_test.c +++ b/Source/charon/testcases/diffie_hellman_test.c @@ -49,10 +49,10 @@ void test_diffie_hellman(protected_tester_t *tester) tester->assert_true(tester,(other_diffie_hellman != NULL), "create call check"); my_diffie_hellman->get_my_public_value(my_diffie_hellman,&my_public_value); - logger->log_chunk(logger,RAW,"My public value",&my_public_value); + logger->log_chunk(logger,RAW,"My public value",my_public_value); other_diffie_hellman->get_my_public_value(other_diffie_hellman,&other_public_value); - logger->log_chunk(logger,RAW,"Other public value",&other_public_value); + logger->log_chunk(logger,RAW,"Other public value",other_public_value); my_diffie_hellman->set_other_public_value(my_diffie_hellman,other_public_value); other_diffie_hellman->set_other_public_value(other_diffie_hellman,my_public_value); @@ -61,10 +61,10 @@ void test_diffie_hellman(protected_tester_t *tester) allocator_free(other_public_value.ptr); tester->assert_true(tester,( my_diffie_hellman->get_shared_secret(my_diffie_hellman,&my_secret) == SUCCESS), "get_shared_secret call check"); - logger->log_chunk(logger,RAW,"My shared secret",&my_secret); + logger->log_chunk(logger,RAW,"My shared secret",my_secret); tester->assert_true(tester,( other_diffie_hellman->get_shared_secret(other_diffie_hellman,&other_secret) == SUCCESS), "get_shared_secret call check"); - logger->log_chunk(logger,RAW,"Other shared secret",&other_secret); + logger->log_chunk(logger,RAW,"Other shared secret",other_secret); tester->assert_true(tester,( memcmp(my_secret.ptr,other_secret.ptr,other_secret.len) == 0), "shared secret same value check"); -- cgit v1.2.3