Skip to content

Commit d917ec6

Browse files
authored
Merge pull request #373 from ejohnstown/no-udp
No UDP in test
2 parents 19b3f3e + 10f1840 commit d917ec6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

ide/winvs/user_settings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#error This user_settings.h header is only designed for Windows
77
#endif
88

9+
#define WOLFSSL_WOLFSSH
910
#define WOLFCRYPT_ONLY
1011
#define WOLFSSL_KEY_GEN
1112
#define HAVE_ECC

wolfssh/test.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ static INLINE void build_addr(SOCKADDR_IN_T* addr, const char* peer,
441441
memset(&hints, 0, sizeof(hints));
442442

443443
hints.ai_family = AF_INET_V;
444-
hints.ai_socktype = udp ? SOCK_DGRAM : SOCK_STREAM;
445-
hints.ai_protocol = udp ? IPPROTO_UDP : IPPROTO_TCP;
444+
hints.ai_socktype = SOCK_STREAM;
445+
hints.ai_protocol = IPPROTO_TCP;
446446

447447
WSNPRINTF(strPort, sizeof(strPort), "%d", port);
448448
strPort[79] = '\0';

0 commit comments

Comments
 (0)