summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-08 22:38:02 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-08 22:38:02 +0100
commitea75116c74feec0541ba3f64a9d1d92e9d67cf2d (patch)
tree0de030ed1969839a2756861a94bdf878c8d5be87 /src/fastd.c
parentc111e07c4ac6e276c9399b56ca8fe342d78c96cc (diff)
downloadfastd-ea75116c74feec0541ba3f64a9d1d92e9d67cf2d.tar
fastd-ea75116c74feec0541ba3f64a9d1d92e9d67cf2d.zip
Add curve25519-fhmqvc-xsalsa20-poly1305 method stub
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fastd.c b/src/fastd.c
index dd6d2fa..5dcec14 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -30,6 +30,8 @@
#include "peer.h"
#include "task.h"
+#include <config.h>
+
#include <arpa/inet.h>
#include <fcntl.h>
#include <getopt.h>
@@ -45,6 +47,10 @@
extern fastd_method fastd_method_null;
+#ifdef WITH_CFXP
+extern fastd_method fastd_method_curve25519_fhmqvc_xsalsa20_poly1305;
+#endif
+
static void init_tuntap(fastd_context *ctx) {
struct ifreq ifr;