diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-24 10:40:10 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-24 10:40:10 +0000 |
commit | a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0 (patch) | |
tree | 91b37f9344855204233631622d5b13a7056084b1 /Source/testing/policy_test.c | |
parent | fcfeb3220fbd4e25b0ac63c541c18e8ae1f30766 (diff) | |
download | strongswan-a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0.tar.bz2 strongswan-a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0.tar.xz |
- identification_t supports now almost all id types
- x509 certificates work with identification_t now
- fixes here, fixes there
Diffstat (limited to 'Source/testing/policy_test.c')
-rw-r--r-- | Source/testing/policy_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/testing/policy_test.c b/Source/testing/policy_test.c index 0b09877e0..38fc7cd53 100644 --- a/Source/testing/policy_test.c +++ b/Source/testing/policy_test.c @@ -46,8 +46,8 @@ void test_policy(protected_tester_t *tester) logger = logger_manager->get_logger(logger_manager, TESTER); logger->disable_level(logger, FULL); - alice = identification_create_from_string(ID_IPV4_ADDR, "152.96.193.131"); - bob = identification_create_from_string(ID_IPV4_ADDR, "152.96.193.130"); + alice = identification_create_from_string("152.96.193.131"); + bob = identification_create_from_string("152.96.193.130"); policy = policy_create(alice, bob); tester->assert_true(tester, (policy != NULL), "policy construction"); |