aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/tests
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-11 08:04:51 +0000
committerMartin Willi <martin@strongswan.org>2005-11-11 08:04:51 +0000
commit0d3675a284990c2975c8645a1159033f5f53e237 (patch)
tree0db534d959c94f24463f8fd21abb1298706e38ca /Source/charon/tests
parent11c7d2d2574e488aee42968e91e8534bf9c71e03 (diff)
downloadstrongswan-0d3675a284990c2975c8645a1159033f5f53e237.tar.bz2
strongswan-0d3675a284990c2975c8645a1159033f5f53e237.tar.xz
- documented
- fixed argument order for parse_payload
Diffstat (limited to 'Source/charon/tests')
-rw-r--r--Source/charon/tests/parser_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/tests/parser_test.c b/Source/charon/tests/parser_test.c
index c6adf29c5..ad19d0363 100644
--- a/Source/charon/tests/parser_test.c
+++ b/Source/charon/tests/parser_test.c
@@ -64,7 +64,7 @@ void test_parser_with_header_payload(tester_t *tester)
parser_context = parser->create_context(parser, test_chunk);
tester->assert_true(tester,(parser_context != NULL), "parser_context create check");
- status = parser->parse_payload(parser, parser_context, HEADER, (void**)&header_data);
+ status = parser->parse_payload(parser, HEADER, (void**)&header_data, parser_context);
tester->assert_true(tester,(status == SUCCESS),"parse_payload call check");
tester->assert_true(tester,(header_data->initiator_spi == 1),"parsed initiator_spi value");