summaryrefslogtreecommitdiff
path: root/keyexchange/isakmpd-20041012/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'keyexchange/isakmpd-20041012/sysdep')
-rw-r--r--keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep4
-rw-r--r--keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c5
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