summaryrefslogtreecommitdiffhomepage
path: root/fuzz.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-20 22:47:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-20 22:47:19 +0800
commitc1694230516fe1c3d78e4fd23aebd5fbc00ce21c (patch)
tree613a04012ce46ddecb6216301c7cca710cf17aac /fuzz.h
parentfdc6f323923b36add7ab7112b1b4d05368bd5902 (diff)
glaring wrapfd problems fixed
--HG-- branch : fuzz
Diffstat (limited to 'fuzz.h')
-rw-r--r--fuzz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz.h b/fuzz.h
index 5a1ab3e..d0e13b3 100644
--- a/fuzz.h
+++ b/fuzz.h
@@ -23,6 +23,7 @@ void fuzz_kex_fakealgos(void);
wrapfd_select(nfds, readfds, writefds, exceptfds, timeout)
#define write(fd, buf, count) wrapfd_write(fd, buf, count)
#define read(fd, buf, count) wrapfd_read(fd, buf, count)
+#define close(fd) wrapfd_close(fd)
#endif // FUZZ_SKIP_WRAP
struct dropbear_fuzz_options {