aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/fuzz_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-13 19:41:03 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-19 15:34:56 -0500
commit60769e710f1099168f7508fe6834e458ce435ad9 (patch)
treeade0966556fa037e6440766f976572c899405269 /src/test/fuzz/fuzz_descriptor.c
parenta967d568dcab10d6b1e03d2ffb96743e415393c0 (diff)
downloadtor-60769e710f1099168f7508fe6834e458ce435ad9.tar.gz
tor-60769e710f1099168f7508fe6834e458ce435ad9.zip
Port fuzz_http to use fuzzing_common.
Move common logic from fuzz_http to fuzzing_common.
Diffstat (limited to 'src/test/fuzz/fuzz_descriptor.c')
-rw-r--r--src/test/fuzz/fuzz_descriptor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_descriptor.c b/src/test/fuzz/fuzz_descriptor.c
index 1364bf4291..12297fdfc2 100644
--- a/src/test/fuzz/fuzz_descriptor.c
+++ b/src/test/fuzz/fuzz_descriptor.c
@@ -12,6 +12,12 @@ fuzz_init(void)
}
int
+fuzz_cleanup(void)
+{
+ return 0;
+}
+
+int
fuzz_main(const uint8_t *data, size_t sz)
{
routerinfo_t *ri;