checkpoint: add wolfSSL_BIO_ADDR_free to wolfSSL_BIO_free(); tweak EXPECT_SUCCESS() to tolerate TEST_SKIPPED; add WIP test_wolfSSL_BIO_datagram.

This commit is contained in:
Daniel Pouzzner
2024-05-31 10:54:20 -05:00
parent 29ec038aa6
commit bd7f7c8bdf
3 changed files with 94 additions and 1 deletions

View File

@@ -2889,6 +2889,10 @@ int wolfSSL_BIO_flush(WOLFSSL_BIO* bio)
if ((bio->type == WOLFSSL_BIO_SOCKET) && (bio->num > 0))
CloseSocket(bio->num);
#endif
#ifdef WOLFSSL_HAVE_BIO_ADDR
if (bio->peer_addr != NULL)
wolfSSL_BIO_ADDR_free(bio->peer_addr);
#endif
}
#ifndef NO_FILESYSTEM