From 4c57c6306235e566f1738cfb7edf582e824b31c6 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 13 Sep 2012 14:22:08 +0200 Subject: Added possibility to register custom proposal keywords Keyword lookup and registration are handled via the new lib->proposal object. --- src/conftest/hooks/custom_proposal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/conftest/hooks/custom_proposal.c') diff --git a/src/conftest/hooks/custom_proposal.c b/src/conftest/hooks/custom_proposal.c index b09fe6ee0..38d4286c4 100644 --- a/src/conftest/hooks/custom_proposal.c +++ b/src/conftest/hooks/custom_proposal.c @@ -19,7 +19,6 @@ #include #include -#include typedef struct private_custom_proposal_t private_custom_proposal_t; @@ -91,7 +90,7 @@ static linked_list_t* load_proposals(private_custom_proposal_t *this, alg = strtoul(value, &end, 10); if (end == value || errno) { - token = proposal_get_token(value); + token = lib->proposal->get_token(lib->proposal, value); if (!token) { DBG1(DBG_CFG, "unknown algorithm: '%s', skipped", value); -- cgit v1.2.3