diff options
Diffstat (limited to 'test/ares-test-fuzz-name.c')
-rw-r--r-- | test/ares-test-fuzz-name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ares-test-fuzz-name.c b/test/ares-test-fuzz-name.c index 378da37..82df743 100644 --- a/test/ares-test-fuzz-name.c +++ b/test/ares-test-fuzz-name.c @@ -4,7 +4,7 @@ #include "ares.h" // Include ares internal file for DNS protocol constants -#include "nameser.h" +#include "ares_nameser.h" // Entrypoint for Clang's libfuzzer, exercising query creation. int LLVMFuzzerTestOneInput(const unsigned char *data, @@ -16,7 +16,7 @@ int LLVMFuzzerTestOneInput(const unsigned char *data, unsigned char *buf = NULL; int buflen = 0; - ares_create_query(name, ns_c_in, ns_t_aaaa, 1234, 0, &buf, &buflen, 1024); + ares_create_query(name, C_IN, T_AAAA, 1234, 0, &buf, &buflen, 1024); free(buf); free(name); return 0; |