aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/tls_client.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-03 10:34:06 +0200
committerSimon Warta <[email protected]>2015-07-03 10:34:06 +0200
commit56d07f092b170bfdf4972414b0739664c8d6294a (patch)
tree8e71c24da6f7f5b037024741105ca392369e590a /src/cmd/tls_client.cpp
parentcd9037e29f32197b9c37ef7bec955ac2372b543b (diff)
parentf472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 (diff)
Merge pull request #148 from webmaster128/fpefe1-only
Make Botan compile if only some modules are enabled
Diffstat (limited to 'src/cmd/tls_client.cpp')
-rw-r--r--src/cmd/tls_client.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd/tls_client.cpp b/src/cmd/tls_client.cpp
index e052c6842..a5da299c6 100644
--- a/src/cmd/tls_client.cpp
+++ b/src/cmd/tls_client.cpp
@@ -6,7 +6,11 @@
#include "apps.h"
-#if defined(BOTAN_HAS_TLS) && !defined(BOTAN_TARGET_OS_IS_WINDOWS) && !defined(BOTAN_TARGET_OS_IS_MINGW)
+#if defined(BOTAN_HAS_TLS) \
+ && defined(BOTAN_HAS_DSA) \
+ && !defined(BOTAN_TARGET_OS_IS_WINDOWS) \
+ && !defined(BOTAN_TARGET_OS_IS_MINGW)
+
#include <botan/tls_client.h>
#include <botan/pkcs8.h>
#include <botan/hex.h>
@@ -289,4 +293,5 @@ int tls_client(int argc, char* argv[])
REGISTER_APP(tls_client);
}
+
#endif