From 933d384010284a2f85a02f24904aceb1fb476880 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Thu, 21 Sep 2017 18:17:25 -0400 Subject: Fix building fuzzers --- src/fuzzer/cert.cpp | 1 + src/fuzzer/crl.cpp | 1 + src/fuzzer/pkcs8.cpp | 3 ++- src/fuzzer/redc_helper.h | 1 + src/fuzzer/tls_server.cpp | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) 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 +#include 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 +#include 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 +#include 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 +#include 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 +#include const char* fixed_rsa_key = "-----BEGIN PRIVATE KEY-----\n" -- cgit v1.2.3