diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-09-13 13:39:33 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-09-13 15:44:01 +0200 |
commit | 995875210acb70ba2b12c9368ce892325abb64f2 (patch) | |
tree | e8bc8ce7dcb96885c98fbe89b2797cf245e2de06 /src/conftest | |
parent | 1962e12fd3a0d80c56facf508ec8ee9ea2c92dc8 (diff) | |
download | strongswan-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.c | 2 |
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); |