mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
test: Fix Windows cross build
This commit is contained in:
parent
b401b09355
commit
723eb4326b
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
FUZZ_TARGET(netaddress)
|
FUZZ_TARGET(netaddress)
|
||||||
|
|
|
@ -78,7 +78,9 @@ FUZZ_TARGET(string)
|
||||||
}
|
}
|
||||||
(void)SanitizeString(random_string_1);
|
(void)SanitizeString(random_string_1);
|
||||||
(void)SanitizeString(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 3));
|
(void)SanitizeString(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 3));
|
||||||
|
#ifndef WIN32
|
||||||
(void)ShellEscape(random_string_1);
|
(void)ShellEscape(random_string_1);
|
||||||
|
#endif // WIN32
|
||||||
int port_out;
|
int port_out;
|
||||||
std::string host_out;
|
std::string host_out;
|
||||||
SplitHostPort(random_string_1, port_out, host_out);
|
SplitHostPort(random_string_1, port_out, host_out);
|
||||||
|
|
Loading…
Add table
Reference in a new issue