@@ -8242,7 +8242,7 @@ static THREAD_RETURN WOLFSSL_THREAD test_server_loop(void* args)
82428242 if (!sharedCtx)
82438243 wolfSSL_CTX_free(ctx);
82448244
8245- if (clientfd >= 0 )
8245+ if (clientfd != SOCKET_INVALID )
82468246 CloseSocket(clientfd);
82478247
82488248#ifdef WOLFSSL_TIRTOS
@@ -52614,7 +52614,7 @@ static int test_wolfSSL_BIO(void)
5261452614 ExpectIntEQ((int)BIO_set_mem_eof_return(f_bio1, -1), 0);
5261552615 ExpectIntEQ((int)BIO_set_mem_eof_return(NULL, -1), 0);
5261652616
52617- ExpectTrue((f1 = XFOPEN(svrCertFile, "rwb ")) != XBADFILE);
52617+ ExpectTrue((f1 = XFOPEN(svrCertFile, "rb+ ")) != XBADFILE);
5261852618 ExpectIntEQ((int)BIO_set_fp(f_bio1, f1, BIO_CLOSE), WOLFSSL_SUCCESS);
5261952619 ExpectIntEQ(BIO_write_filename(f_bio2, testFile),
5262052620 WOLFSSL_SUCCESS);
@@ -52638,7 +52638,7 @@ static int test_wolfSSL_BIO(void)
5263852638 BIO_free(f_bio2);
5263952639 f_bio2 = NULL;
5264052640
52641- ExpectNotNull(f_bio1 = BIO_new_file(svrCertFile, "rwb "));
52641+ ExpectNotNull(f_bio1 = BIO_new_file(svrCertFile, "rb+ "));
5264252642 ExpectIntEQ((int)BIO_set_mem_eof_return(f_bio1, -1), 0);
5264352643 ExpectIntEQ(BIO_read(f_bio1, cert, sizeof(cert)), sizeof(cert));
5264452644 BIO_free(f_bio1);
@@ -55290,7 +55290,7 @@ static int test_wc_ERR_print_errors_fp(void)
5529055290 XFILE fp = XBADFILE;
5529155291
5529255292 WOLFSSL_ERROR(WC_NO_ERR_TRACE(BAD_FUNC_ARG));
55293- ExpectTrue((fp = XFOPEN("./tests/test-log-dump-to-file.txt", "ar ")) !=
55293+ ExpectTrue((fp = XFOPEN("./tests/test-log-dump-to-file.txt", "a+ ")) !=
5529455294 XBADFILE);
5529555295 wc_ERR_print_errors_fp(fp);
5529655296#if defined(DEBUG_WOLFSSL)
@@ -85971,7 +85971,8 @@ static int test_dtls_msg_from_other_peer(void)
8597185971 * !defined(SINGLE_THREADED) && !defined(NO_RSA) */
8597285972#if defined(WOLFSSL_DTLS) && !defined(WOLFSSL_IPV6) && \
8597385973 !defined(NO_WOLFSSL_CLIENT) && !defined(NO_WOLFSSL_SERVER) && \
85974- defined(HAVE_IO_TESTS_DEPENDENCIES) && !defined(WOLFSSL_NO_TLS12)
85974+ defined(HAVE_IO_TESTS_DEPENDENCIES) && !defined(WOLFSSL_NO_TLS12) \
85975+ && !defined(USE_WINDOWS_API)
8597585976static int test_dtls_ipv6_check(void)
8597685977{
8597785978 EXPECT_DECLS;
0 commit comments