aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/crypt_burn.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-13 15:50:52 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-13 15:50:52 +0200
commit7d786057b4e62bb46fbc33fea6063abc9a13bc66 (patch)
tree3d35a16fc979238bf7aa6f8b31d08f221eb251dd /scripts/crypt_burn.c
parentbc6ec4de7314885d2725bccc186a527bda37c2bc (diff)
parent08ad639f327d2e5445d7274b7705093704151f35 (diff)
downloadstrongswan-7d786057b4e62bb46fbc33fea6063abc9a13bc66.tar.bz2
strongswan-7d786057b4e62bb46fbc33fea6063abc9a13bc66.tar.xz
Merge branch 'custom-crypto'
This provides plugins with an interface to register keywords for proposals (e.g. when parsing the esp and ike options from ipsec.conf) and the possibility to register identifiers for kernel algorithms. It is based on patches contributed by Nanoteq Pty Ltd.
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 1f1536ae7..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], strlen(argv[1]));
+ token = lib->proposal->get_token(lib->proposal, argv[1]);
if (!token)
{
fprintf(stderr, "algorithm '%s' unknown!\n", argv[1]);