aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-21 18:17:25 -0400
committerJack Lloyd <[email protected]>2017-09-21 18:17:25 -0400
commit933d384010284a2f85a02f24904aceb1fb476880 (patch)
tree5f9a5d1204080505dbd7b57539570c9c971f3eed
parent37565c68641228ed237804f34ef896f549955801 (diff)
Fix building fuzzers
-rw-r--r--src/fuzzer/cert.cpp1
-rw-r--r--src/fuzzer/crl.cpp1
-rw-r--r--src/fuzzer/pkcs8.cpp3
-rw-r--r--src/fuzzer/redc_helper.h1
-rw-r--r--src/fuzzer/tls_server.cpp1
5 files changed, 6 insertions, 1 deletions
diff --git a/src/fuzzer/cert.cpp b/src/fuzzer/cert.cpp
index 3b40020df..215a29400 100644
--- a/src/fuzzer/cert.cpp
+++ b/src/fuzzer/cert.cpp
@@ -6,6 +6,7 @@
#include "fuzzers.h"
#include <botan/x509cert.h>
+#include <botan/data_src.h>
void fuzz(const uint8_t in[], size_t len)
{
diff --git a/src/fuzzer/crl.cpp b/src/fuzzer/crl.cpp
index 63699b9b3..e41d523a9 100644
--- a/src/fuzzer/crl.cpp
+++ b/src/fuzzer/crl.cpp
@@ -6,6 +6,7 @@
#include "fuzzers.h"
#include <botan/x509_crl.h>
+#include <botan/data_src.h>
void fuzz(const uint8_t in[], size_t len)
{
diff --git a/src/fuzzer/pkcs8.cpp b/src/fuzzer/pkcs8.cpp
index ad43d6f3e..93bae4f2e 100644
--- a/src/fuzzer/pkcs8.cpp
+++ b/src/fuzzer/pkcs8.cpp
@@ -3,9 +3,10 @@
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#include "fuzzers.h"
+#include "fuzzers.h"
#include <botan/pkcs8.h>
+#include <botan/data_src.h>
void fuzz(const uint8_t in[], size_t len)
{
diff --git a/src/fuzzer/redc_helper.h b/src/fuzzer/redc_helper.h
index 0e23686ed..f08df3656 100644
--- a/src/fuzzer/redc_helper.h
+++ b/src/fuzzer/redc_helper.h
@@ -9,6 +9,7 @@
#include "fuzzers.h"
#include <botan/reducer.h>
+#include <functional>
namespace {
diff --git a/src/fuzzer/tls_server.cpp b/src/fuzzer/tls_server.cpp
index 54586595f..55cbc11f9 100644
--- a/src/fuzzer/tls_server.cpp
+++ b/src/fuzzer/tls_server.cpp
@@ -6,6 +6,7 @@
#include "fuzzers.h"
#include <botan/tls_server.h>
+#include <botan/data_src.h>
const char* fixed_rsa_key =
"-----BEGIN PRIVATE KEY-----\n"