aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/tls_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/tls_server.cpp')
-rw-r--r--src/cmd/tls_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/tls_server.cpp b/src/cmd/tls_server.cpp
index dac69e2c1..396497727 100644
--- a/src/cmd/tls_server.cpp
+++ b/src/cmd/tls_server.cpp
@@ -1,4 +1,6 @@
#include "apps.h"
+
+#if defined(BOTAN_HAS_TLS)
#include <botan/tls_server.h>
#include <botan/hex.h>
@@ -260,3 +262,5 @@ int tls_server_main(int argc, char* argv[])
return 0;
}
+
+#endif