summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-30 15:21:23 +0200
committerlouiz’ <louiz@louiz.org>2017-04-30 15:21:23 +0200
commita3e6497ab8e46cf41ad856b1b30c8ab704343d22 (patch)
treee4c1f406c76dc5e394a307b84cf7835c441f7f6e
parent7b3e0e0cf3eddd3537455a3605b04a48ee663f47 (diff)
downloadbiboumi-a3e6497ab8e46cf41ad856b1b30c8ab704343d22.tar.gz
biboumi-a3e6497ab8e46cf41ad856b1b30c8ab704343d22.tar.bz2
biboumi-a3e6497ab8e46cf41ad856b1b30c8ab704343d22.tar.xz
biboumi-a3e6497ab8e46cf41ad856b1b30c8ab704343d22.zip
Add a missing ifnedf BOTAN_FOUND
-rw-r--r--tests/network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/network.cpp b/tests/network.cpp
index 52e9ae3..bd91741 100644
--- a/tests/network.cpp
+++ b/tests/network.cpp
@@ -1,6 +1,7 @@
#include "catch.hpp"
#include <network/tls_policy.hpp>
+#ifdef USE_DATABASE
TEST_CASE("tls_policy")
{
BiboumiTLSPolicy policy;
@@ -40,3 +41,4 @@ TEST_CASE("tls_policy")
}
}
}
+#endif