aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-13 13:39:33 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-13 15:44:01 +0200
commit995875210acb70ba2b12c9368ce892325abb64f2 (patch)
treee8bc8ce7dcb96885c98fbe89b2797cf245e2de06 /src/conftest
parent1962e12fd3a0d80c56facf508ec8ee9ea2c92dc8 (diff)
downloadstrongswan-995875210acb70ba2b12c9368ce892325abb64f2.tar.bz2
strongswan-995875210acb70ba2b12c9368ce892325abb64f2.tar.xz
Removed len argument from proposal_get_token()
Also use enumerators instead of lexparser.h to parse proposal strings.
Diffstat (limited to 'src/conftest')
-rw-r--r--src/conftest/hooks/custom_proposal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/custom_proposal.c b/src/conftest/hooks/custom_proposal.c
index 958bc1052..b09fe6ee0 100644
--- a/src/conftest/hooks/custom_proposal.c
+++ b/src/conftest/hooks/custom_proposal.c
@@ -91,7 +91,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, strlen(value));
+ token = proposal_get_token(value);
if (!token)
{
DBG1(DBG_CFG, "unknown algorithm: '%s', skipped", value);