aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/main.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-08 16:01:49 +0000
committerlloyd <[email protected]>2014-02-08 16:01:49 +0000
commit93c361028df3e33b9f6195f7d4b9ffcf47a7fa2c (patch)
tree3fdc838b34dc937ef280899f89aa10a47e005f30 /src/cmd/main.cpp
parent7def8d303e3cf0f1a27ee8ebcb8ae5137261a361 (diff)
Fix minimized builds. Patch by Markus Wanner sent to botan-devel
Diffstat (limited to 'src/cmd/main.cpp')
-rw-r--r--src/cmd/main.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/cmd/main.cpp b/src/cmd/main.cpp
index 5f6a0042f..6e4cb6702 100644
--- a/src/cmd/main.cpp
+++ b/src/cmd/main.cpp
@@ -37,7 +37,7 @@ int help(int , char* argv[])
return 1;
}
-int config_main(int argc, char* argv[])
+int config_main(int , char* argv[])
{
return 1;
}
@@ -109,20 +109,24 @@ int main(int argc, char* argv[])
CALL_APP(base64);
CALL_APP(bcrypt);
CALL_APP(bzip);
- CALL_APP(ca);
CALL_APP(factor);
CALL_APP(fpe);
CALL_APP(hash);
CALL_APP(keygen);
CALL_APP(dsa_sign);
CALL_APP(dsa_verify);
- CALL_APP(pkcs10);
CALL_APP(read_ssh);
- CALL_APP(self_sig);
+#if defined(BOTAN_HAS_TLS)
CALL_APP(tls_client);
CALL_APP(tls_server);
CALL_APP(tls_server_asio);
+#endif
+#if defined(BOTAN_HAS_X509_CERTIFICATES)
+ CALL_APP(ca);
+ CALL_APP(pkcs10);
+ CALL_APP(self_sig);
CALL_APP(x509);
+#endif
CALL_APP(speed);
std::cout << "Unknown command " << cmd << "\n";