summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
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 /Makefile.in
parentd7471c4f875a2be9dde4e65d06f71bf7c68d5ff5 (diff)
copy over some fuzzing code from AFL branch
--HG-- branch : fuzz
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index d9bfdfa..286e25a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -223,3 +223,14 @@ distclean: clean tidy
tidy:
-rm -f *~ *.gcov */*~
+
+# run this manually for fuzzing. hostkeys.c is checked in.
+hostkeys:
+ dropbearkey -t rsa -f keyr
+ dropbearkey -t dss -f keyd
+ dropbearkey -t ecdsa -size 256 -f keye
+ echo > hostkeys.c
+ /usr/bin/xxd -i -a keyr >> hostkeys.c
+ /usr/bin/xxd -i -a keye >> hostkeys.c
+ /usr/bin/xxd -i -a keyd >> hostkeys.c
+