summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-12 23:14:54 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-12 23:14:54 +0800
commit9f24cdf74c93aa75416687972e69b5b4c8be2698 (patch)
tree9de10a9cfb200ced849cce21005253e0b93b7711 /configure.ac
parentd7471c4f875a2be9dde4e65d06f71bf7c68d5ff5 (diff)
copy over some fuzzing code from AFL branch
--HG-- branch : fuzz
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 893b904..03a1e4f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -217,6 +217,15 @@ AC_ARG_ENABLE(shadow,
AC_MSG_NOTICE(Using shadow passwords if available)
]
)
+
+AC_ARG_ENABLE(fuzz,
+ [ --enable-fuzz Build fuzzing],
+ [
+ AC_DEFINE(DROPBEAR_FUZZ, 1, Fuzzing)
+ AC_MSG_NOTICE(Enabling fuzzing)
+ ]
+)
+
# Checks for header files.