diff options
author | Simon Warta <[email protected]> | 2015-07-03 10:34:06 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-03 10:34:06 +0200 |
commit | 56d07f092b170bfdf4972414b0739664c8d6294a (patch) | |
tree | 8e71c24da6f7f5b037024741105ca392369e590a /src/cmd/tls_client.cpp | |
parent | cd9037e29f32197b9c37ef7bec955ac2372b543b (diff) | |
parent | f472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 (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.cpp | 7 |
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 |