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,16 +15978,9 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
wolfSSL_free((WOLFSSL*)bio->ptr); wolfSSL_free((WOLFSSL*)bio->ptr);
#ifdef CloseSocket #ifdef CloseSocket
if (bio->type == WOLFSSL_BIO_SOCKET && bio->num) if (bio->type == WOLFSSL_BIO_SOCKET && bio->num)
{
#ifdef FUSION_RTOS
int err;
CloseSocket(bio->num, &err);
#else
CloseSocket(bio->num); CloseSocket(bio->num);
#endif #endif
} }
#endif
}
#ifndef NO_FILESYSTEM #ifndef NO_FILESYSTEM
if (bio->type == WOLFSSL_BIO_FILE && bio->shutdown == BIO_CLOSE) { if (bio->type == WOLFSSL_BIO_FILE && bio->shutdown == BIO_CLOSE) {

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; return SOCKET_ERROR_E;
} }
#endif /* HAVE_IO_TIMEOUT */ #endif /* HAVE_IO_TIMEOUT */

View File

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