aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/speed_pk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/speed_pk.cpp')
-rw-r--r--src/cmd/speed_pk.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cmd/speed_pk.cpp b/src/cmd/speed_pk.cpp
index 63395e624..dc0ee79da 100644
--- a/src/cmd/speed_pk.cpp
+++ b/src/cmd/speed_pk.cpp
@@ -4,21 +4,20 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
+#include "apps.h"
+
+#if defined(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
+
#include "speed.h"
#include "timer.h"
-#include <botan/pkcs8.h>
-#include <botan/mem_ops.h>
-#include <botan/parsing.h>
-#include <botan/oids.h>
#include <map>
#include <sstream>
-
-#if defined(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
- #include <botan/x509_key.h>
- #include <botan/pkcs8.h>
- #include <botan/pubkey.h>
-#endif
+#include <botan/mem_ops.h>
+#include <botan/parsing.h>
+#include <botan/pkcs8.h>
+#include <botan/pubkey.h>
+#include <botan/x509_key.h>
#if defined(BOTAN_HAS_RSA)
#include <botan/rsa.h>
@@ -876,3 +875,4 @@ void bench_pk(RandomNumberGenerator& rng,
benchmark_mce(rng, seconds, report);
#endif
}
+#endif // BOTAN_HAS_PUBLIC_KEY_CRYPTO