diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-27 11:52:27 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-27 11:52:27 +0000 |
commit | 595bde1a20067b290cb69cd433bf40148a86d813 (patch) | |
tree | 7e28cf31b8cab381f97cc1b2afe4104749fbbf03 /keyexchange/isakmpd-20041012/sysdep/linux | |
parent | adden new isakmpd (diff) |
added anytun to isakmpd
Diffstat (limited to 'keyexchange/isakmpd-20041012/sysdep/linux')
-rw-r--r-- | keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep | 4 | ||||
-rw-r--r-- | keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep b/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep index 6c0fa10..f4ae5c5 100644 --- a/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep +++ b/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep @@ -41,8 +41,8 @@ CFLAGS+= -DHAVE_GETNAMEINFO -DUSE_OLD_SOCKADDR -DHAVE_PCAP \ FEATURES= debug tripledes blowfish cast ec aggressive x509 policy FEATURES+= dpd nat_traversal isakmp_cfg des aes -IPSEC_SRCS= pf_key_v2.c -IPSEC_CFLAGS= -DUSE_PF_KEY_V2 +IPSEC_SRCS= anytun_key.c +IPSEC_CFLAGS= -DUSE_ANYTUN_KEY USE_LIBCRYPO= defined HAVE_DLOPEN= defined diff --git a/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c b/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c index fc3b362..8825424 100644 --- a/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c +++ b/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c @@ -43,6 +43,11 @@ #include <linux/pfkeyv2.h> #include <linux/ipsec.h> +#ifdef USE_ANYTUN_KEY +#include "anytun_key.h" +#define KEY_API(x) anytun_key_##x +#endif + #ifdef USE_PF_KEY_V2 #include "pf_key_v2.h" #define KEY_API(x) pf_key_v2_##x |