Address missed CloseSocket item and revert some white space changes

This commit is contained in:
kaleb-himes
2021-02-10 09:14:54 -07:00
parent 7e428f90f2
commit 4c171524dd
4 changed files with 3 additions and 9 deletions

View File

@@ -15978,14 +15978,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
wolfSSL_free((WOLFSSL*)bio->ptr);
#ifdef CloseSocket
if (bio->type == WOLFSSL_BIO_SOCKET && bio->num)
{
#ifdef FUSION_RTOS
int err;
CloseSocket(bio->num, &err);
#else
CloseSocket(bio->num);
#endif
}
#endif
}

View File

@@ -788,8 +788,8 @@ int wolfIO_Send(SOCKET_T sd, char *buf, int sz, int wrFlags)
}
}
}
WOLFSSL_MSG("Select error");
WOLFSSL_MSG("Select error");
return SOCKET_ERROR_E;
}
#endif /* HAVE_IO_TIMEOUT */

View File

@@ -41,6 +41,7 @@
#include <wolfssl/wolfcrypt/aes.h>
#endif
#include <wolfssl/openssl/ecdsa.h>
#include <wolfssl/openssl/evp.h>

View File

@@ -271,7 +271,7 @@ void WOLFSSL_TIME(int count)
#include <wolfssl/wolfcrypt/wc_port.h>
#define fprintf FCL_FPRINTF
#else
#include <stdio.h>/* for default printf stuff */
#include <stdio.h> /* for default printf stuff */
#endif
#if defined(THREADX) && !defined(THREADX_NO_DC_PRINTF)