diff options
author | Richard Levitte <levitte@openssl.org> | 2022-11-16 16:20:57 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-11-17 11:09:31 +0100 |
commit | 7bc5ce4a79c61ab7238b188f9af48f41ff1392f9 (patch) | |
tree | 307b79a97b912ed3bdd189c2b60263b300535b2a /fuzz/fuzzer.h | |
parent | Add test to confirm IPAddressFamily_check_len catches invalid len (diff) | |
download | openssl-7bc5ce4a79c61ab7238b188f9af48f41ff1392f9.tar.xz openssl-7bc5ce4a79c61ab7238b188f9af48f41ff1392f9.zip |
Use <openssl/e_os2.h> rather than <stdint.h>
<stdint.h> is C99, which means that on older compiler, it can't be included.
We have code in <openssl/e_os2.h> that compensates.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19697)
Diffstat (limited to 'fuzz/fuzzer.h')
-rw-r--r-- | fuzz/fuzzer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h index 4d8b7b9a51..76eda2ce5d 100644 --- a/fuzz/fuzzer.h +++ b/fuzz/fuzzer.h @@ -8,8 +8,8 @@ * or in the file LICENSE in the source distribution. */ -#include <stdint.h> /* for uint8_t */ -#include <stddef.h> /* for size_t */ +#include <stddef.h> /* for size_t */ +#include <openssl/e_os2.h> /* for uint8_t */ int FuzzerTestOneInput(const uint8_t *buf, size_t len); int FuzzerInitialize(int *argc, char ***argv); |