From c1694230516fe1c3d78e4fd23aebd5fbc00ce21c Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sat, 20 May 2017 22:47:19 +0800 Subject: glaring wrapfd problems fixed --HG-- branch : fuzz --- fuzz.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fuzz.h') 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 { -- cgit v1.2.3