0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

test: Fix Windows cross build

This commit is contained in:
Hennadii Stepanov 2021-02-08 15:11:07 +02:00
parent b401b09355
commit 723eb4326b
No known key found for this signature in database
GPG key ID: 410108112E7EA81F
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,6 @@
#include <cassert>
#include <cstdint>
#include <netinet/in.h>
#include <vector>
FUZZ_TARGET(netaddress)

View file

@ -78,7 +78,9 @@ FUZZ_TARGET(string)
}
(void)SanitizeString(random_string_1);
(void)SanitizeString(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 3));
#ifndef WIN32
(void)ShellEscape(random_string_1);
#endif // WIN32
int port_out;
std::string host_out;
SplitHostPort(random_string_1, port_out, host_out);