Register TKM kernel ipsec interface in charon-tkm

This commit is contained in:
Adrian-Ken Rueegsegger 2012-09-07 15:17:25 +02:00 committed by Tobias Brunner
parent 8a780242e2
commit cc169cb16e
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@
#include "tkm_diffie_hellman.h"
#include "tkm_keymat.h"
#include "tkm_listener.h"
#include "tkm_kernel_ipsec.h"
/**
* TKM bus listener for IKE authorize events.
@ -284,6 +285,8 @@ int main(int argc, char *argv[])
PLUGIN_REGISTER(DH, tkm_diffie_hellman_create),
PLUGIN_PROVIDE(DH, MODP_3072_BIT),
PLUGIN_PROVIDE(DH, MODP_4096_BIT),
PLUGIN_CALLBACK(kernel_ipsec_register, tkm_kernel_ipsec_create),
PLUGIN_PROVIDE(CUSTOM, "kernel-ipsec"),
};
lib->plugins->add_static_features(lib->plugins, "tkm-backend", features,
countof(features), TRUE);