summaryrefslogtreecommitdiff
path: root/fuzz/fuzzer.h
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-11-04 08:43:38 +1100
committerPauli <pauli@openssl.org>2022-11-11 08:14:48 +1100
commit8aa82b337081b7a22c35dddad8d62fb1ca9ea884 (patch)
treee9dc998fcb32f605bc83a552f587e62fa78ceee2 /fuzz/fuzzer.h
parent905ba924398f474e647de70345b4ae4089fedba7 (diff)
downloadopenssl-new-8aa82b337081b7a22c35dddad8d62fb1ca9ea884.tar.gz
fuzz: add punycode decoder fuzz test
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/19591)
Diffstat (limited to 'fuzz/fuzzer.h')
-rw-r--r--fuzz/fuzzer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h
index cd460dea8d..4d8b7b9a51 100644
--- a/fuzz/fuzzer.h
+++ b/fuzz/fuzzer.h
@@ -8,6 +8,9 @@
* or in the file LICENSE in the source distribution.
*/
+#include <stdint.h> /* for uint8_t */
+#include <stddef.h> /* for size_t */
+
int FuzzerTestOneInput(const uint8_t *buf, size_t len);
int FuzzerInitialize(int *argc, char ***argv);
void FuzzerCleanup(void);