summaryrefslogtreecommitdiffstats
path: root/src/verify.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-26 23:22:12 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-26 23:22:24 +0200
commit5871d08a3a519dbc54261c8a18e649ec9cc8bd7f (patch)
tree8c6ce34d5b0b9edec0abdacedbeec49efb969cd7 /src/verify.c
parent36690c7203f0e46665f328fbe82ae3bd573cc6ff (diff)
downloadfastd-5871d08a3a519dbc54261c8a18e649ec9cc8bd7f.tar
fastd-5871d08a3a519dbc54261c8a18e649ec9cc8bd7f.zip
Make on-verify support optional
Diffstat (limited to 'src/verify.c')
-rw-r--r--src/verify.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verify.c b/src/verify.c
index fb592bd..876e133 100644
--- a/src/verify.c
+++ b/src/verify.c
@@ -25,6 +25,10 @@
#include "verify.h"
+
+
+#ifdef WITH_VERIFY
+
#include "async.h"
#include "shell.h"
@@ -109,3 +113,5 @@ fastd_tristate_t fastd_verify_peer(fastd_peer_t *peer, fastd_socket_t *sock, con
return (fastd_tristate_t){.set = false};
}
}
+
+#endif /* WITH_VERIFY */