Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions psk/client-psk-nonblocking.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* enum used for tcp_select function
*/
enum {
TEST_SELECT_FAIL,
TEST_SELECT_FAIL = 0,
TEST_TIMEOUT,
TEST_RECV_READY,
TEST_ERROR_READY
Expand Down Expand Up @@ -72,7 +72,8 @@ static inline unsigned int My_Psk_Client_Cb(WOLFSSL* ssl, const char* hint,

int main(int argc, char **argv)
{
int sockfd, ret, error, select_ret, currTimeout;
int sockfd, ret, error, currTimeout;
int select_ret = TEST_SELECT_FAIL;
int nfds;
int result;
char sendline[MAXLINE]="Hello Server"; /* string to send to the server */
Expand Down
4 changes: 2 additions & 2 deletions psk/server-psk-nonblocking.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

/* states of the tcp connection */
enum{
TEST_SELECT_FAIL,
TEST_SELECT_FAIL = 0,
TEST_TIMEOUT,
TEST_RECV_READY,
TEST_ERROR_READY
Expand Down Expand Up @@ -77,7 +77,7 @@ int main()
int ret;
int error;
int result;
int select_ret;
int select_ret = TEST_SELECT_FAIL;
int sockfd;
int nfds;
int currTimeout = 1;
Expand Down