Mercurial > dropbear
comparison fuzz.h @ 1798:8dc43b30c6bf
Define _GNU_SOURCE properly, other header fixes
This lets -std=c89 build for gcc 8.4.0
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Mar 2021 21:03:02 +0800 |
parents | 685b47d8faf7 |
children | 4983a6bc1f51 |
comparison
equal
deleted
inserted
replaced
1797:f680a19bd559 | 1798:8dc43b30c6bf |
---|---|
78 | 78 |
79 // dropbear_exit() jumps back | 79 // dropbear_exit() jumps back |
80 int do_jmp; | 80 int do_jmp; |
81 sigjmp_buf jmp; | 81 sigjmp_buf jmp; |
82 | 82 |
83 // write out decrypted session data to this FD if it's set | 83 // write out decrypted session data to this FD if it is set |
84 // flag - this needs to be set manually in cli-main.c etc | 84 // flag - this needs to be set manually in cli-main.c etc |
85 int dumping; | 85 int dumping; |
86 // the file descriptor | 86 // the file descriptor |
87 int recv_dumpfd; | 87 int recv_dumpfd; |
88 | 88 |
112 #ifndef FUZZ_NO_REPLACE_GETPW | 112 #ifndef FUZZ_NO_REPLACE_GETPW |
113 #define getpwnam(x) fuzz_getpwnam(x) | 113 #define getpwnam(x) fuzz_getpwnam(x) |
114 #define getpwuid(x) fuzz_getpwuid(x) | 114 #define getpwuid(x) fuzz_getpwuid(x) |
115 #endif // FUZZ_NO_REPLACE_GETPW | 115 #endif // FUZZ_NO_REPLACE_GETPW |
116 | 116 |
117 #endif // DROPBEAR_FUZZ | 117 #endif /* DROPBEAR_FUZZ */ |
118 | 118 |
119 #endif /* DROPBEAR_FUZZ_H */ | 119 #endif /* DROPBEAR_FUZZ_H */ |