aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/crypt_burn.c
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 /scripts/crypt_burn.c
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 'scripts/crypt_burn.c')
-rw-r--r--scripts/crypt_burn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/crypt_burn.c b/scripts/crypt_burn.c
index c7990edc4..449364a1a 100644
--- a/scripts/crypt_burn.c
+++ b/scripts/crypt_burn.c
@@ -15,7 +15,6 @@
#include <stdio.h>
#include <library.h>
-#include <crypto/proposal/proposal_keywords.h>
int main(int argc, char *argv[])
{
@@ -47,7 +46,7 @@ int main(int argc, char *argv[])
limit = atoi(argv[2]);
}
- token = proposal_get_token(argv[1]);
+ token = lib->proposal->get_token(lib->proposal, argv[1]);
if (!token)
{
fprintf(stderr, "algorithm '%s' unknown!\n", argv[1]);