aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/testcases/diffie_hellman_test.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-29 07:15:52 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-29 07:15:52 +0000
commitd0cc48e5ece245c70708e9da79c785ad460a6501 (patch)
tree127f6ca61094b7346c00c0a3304a6f2d7d7df557 /Source/charon/testcases/diffie_hellman_test.c
parent1bcea5140da4be45825f672094afa38130b051d1 (diff)
downloadstrongswan-d0cc48e5ece245c70708e9da79c785ad460a6501.tar.bz2
strongswan-d0cc48e5ece245c70708e9da79c785ad460a6501.tar.xz
- memory allocation tests removed
Diffstat (limited to 'Source/charon/testcases/diffie_hellman_test.c')
-rw-r--r--Source/charon/testcases/diffie_hellman_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/testcases/diffie_hellman_test.c b/Source/charon/testcases/diffie_hellman_test.c
index ee2c30b3d..95ea52519 100644
--- a/Source/charon/testcases/diffie_hellman_test.c
+++ b/Source/charon/testcases/diffie_hellman_test.c
@@ -48,10 +48,10 @@ void test_diffie_hellman(tester_t *tester)
other_diffie_hellman = diffie_hellman_create(MODP_1024_BIT);
tester->assert_true(tester,(other_diffie_hellman != NULL), "create call check");
- tester->assert_true(tester,( my_diffie_hellman->get_my_public_value(my_diffie_hellman,&my_public_value) == SUCCESS), "get_my_public_value 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);
- tester->assert_true(tester,( other_diffie_hellman->get_my_public_value(other_diffie_hellman,&other_public_value) == SUCCESS), "get_my_public_value call check");
+ other_diffie_hellman->get_my_public_value(other_diffie_hellman,&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);