aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/testcases/parser_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-03-24 15:37:49 +0000
committerMartin Willi <martin@strongswan.org>2006-03-24 15:37:49 +0000
commit9c781c152ad66a73139447e40a2081c38080c651 (patch)
treee214ab37398230685621ac3732444e279c40b785 /Source/charon/testcases/parser_test.c
parentdec598220b9a293c4ec75e593ab642a8945fa4fc (diff)
downloadstrongswan-9c781c152ad66a73139447e40a2081c38080c651.tar.bz2
strongswan-9c781c152ad66a73139447e40a2081c38080c651.tar.xz
- starter work on asn1 with der de/encoder
- RSA private and public key can load read key from ASN1 DER - some other fixes here and there
Diffstat (limited to 'Source/charon/testcases/parser_test.c')
-rw-r--r--Source/charon/testcases/parser_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/testcases/parser_test.c b/Source/charon/testcases/parser_test.c
index 5dcfc7ca3..81a6556f3 100644
--- a/Source/charon/testcases/parser_test.c
+++ b/Source/charon/testcases/parser_test.c
@@ -805,7 +805,7 @@ void test_parser_with_delete_payload(protected_tester_t *tester)
return;
}
result = delete_payload->get_spis(delete_payload);
- tester->assert_true(tester,(delete_payload->get_protocol_id(delete_payload) == ESP), "is ESP protocol");
+ tester->assert_true(tester,(delete_payload->get_protocol_id(delete_payload) == PROTO_ESP), "is ESP protocol");
tester->assert_true(tester,(delete_payload->get_spi_size(delete_payload) == 3), "SPI size check");
tester->assert_true(tester,(delete_payload->get_spi_count(delete_payload) == 4), "SPI count check");
tester->assert_true(tester,(result.len == 12), "parsed data lenght");