aboutsummaryrefslogtreecommitdiffstats
path: root/src/scepclient
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-13 14:22:08 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-13 15:44:46 +0200
commit4c57c6306235e566f1738cfb7edf582e824b31c6 (patch)
tree747a380203ea558d44804203453e6c4ff1828aea /src/scepclient
parent995875210acb70ba2b12c9368ce892325abb64f2 (diff)
downloadstrongswan-4c57c6306235e566f1738cfb7edf582e824b31c6.tar.bz2
strongswan-4c57c6306235e566f1738cfb7edf582e824b31c6.tar.xz
Added possibility to register custom proposal keywords
Keyword lookup and registration are handled via the new lib->proposal object.
Diffstat (limited to 'src/scepclient')
-rw-r--r--src/scepclient/scepclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scepclient/scepclient.c b/src/scepclient/scepclient.c
index 2444080a1..78b0d7e7a 100644
--- a/src/scepclient/scepclient.c
+++ b/src/scepclient/scepclient.c
@@ -828,7 +828,7 @@ int main(int argc, char **argv)
if (strcaseeq("enc", type))
{
- token = proposal_get_token(algo);
+ token = lib->proposal->get_token(lib->proposal, algo);
if (token == NULL || token->type != ENCRYPTION_ALGORITHM)
{
usage("invalid algorithm specified");
@@ -846,7 +846,7 @@ int main(int argc, char **argv)
{
hash_algorithm_t hash;
- token = proposal_get_token(algo);
+ token = lib->proposal->get_token(lib->proposal, algo);
if (token == NULL || token->type != INTEGRITY_ALGORITHM)
{
usage("invalid algorithm specified");