fuzz: Fix assertion failed: (fuzz_handle != NULL) for fuzzshark_ip
authorPeter Wu <peter@lekensteyn.nl>
Sun, 21 Oct 2018 11:14:44 +0000 (13:14 +0200)
committerPeter Wu <peter@lekensteyn.nl>
Sun, 21 Oct 2018 11:47:52 +0000 (11:47 +0000)
commit1957673703fb5e5865bfc4412393e20302569392
tree2f447d89646ce71d5331b8912d881956419d4f00
parent9f74af24f1c7e37b1dfce9041a71cc2ac2ed89f9
fuzz: Fix assertion failed: (fuzz_handle != NULL) for fuzzshark_ip

If no dissector is defined, the macro should not be defined either.

Change-Id: If9c24d2b223e93f1d42f8a7444fd019aad4c5c1d
Fixes: v2.9.0rc0-2266-g7e88bb5e53 ("fuzzshark: integrate oss-fuzz targets in CMake")
Reviewed-on: https://code.wireshark.org/review/30299
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
fuzz/CMakeLists.txt