Move fuzzing code to fuzz/ subdirectory, improve Makefile.in

This commit is contained in:
Matt Johnston
2020-10-23 23:10:20 +08:00
parent 1a208c460b
commit f37def57b0
15 changed files with 17 additions and 35 deletions

View File

@@ -347,6 +347,7 @@ AC_ARG_ENABLE(fuzz,
DROPBEAR_FUZZ=1
# libfuzzer needs linking with c++ libraries
AC_PROG_CXX
mkdir -pv fuzz
else
AC_DEFINE(DROPBEAR_FUZZ, 0, Fuzzing)
AC_MSG_NOTICE(Disabling fuzzing)