From a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 24 Apr 2006 10:40:10 +0000 Subject: - identification_t supports now almost all id types - x509 certificates work with identification_t now - fixes here, fixes there --- Source/testing/policy_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/testing/policy_test.c') 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"); -- cgit v1.2.3