Cleanup spaces.
This commit is contained in:
parent
87113cc88d
commit
246ce8dbe1
@ -2144,7 +2144,7 @@ int wolfSSL_BIO_flush(WOLFSSL_BIO* bio)
|
||||
return WOLFSSL_FAILURE;
|
||||
}
|
||||
|
||||
b->num = (int) sfd;
|
||||
b->num = (int)sfd;
|
||||
b->shutdown = BIO_CLOSE;
|
||||
return WOLFSSL_SUCCESS;
|
||||
}
|
||||
@ -2173,7 +2173,7 @@ int wolfSSL_BIO_flush(WOLFSSL_BIO* bio)
|
||||
WOLFSSL_ENTER("wolfIO_TcpBind error");
|
||||
return WOLFSSL_FAILURE;
|
||||
}
|
||||
b->num = (int) sfd;
|
||||
b->num = (int)sfd;
|
||||
b->shutdown = BIO_CLOSE;
|
||||
}
|
||||
else {
|
||||
|
14
src/ssl.c
14
src/ssl.c
@ -165,14 +165,14 @@
|
||||
#ifdef WOLFSSL_SYS_CA_CERTS
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <Wincrypt.h>
|
||||
#include <windows.h>
|
||||
#include <Wincrypt.h>
|
||||
|
||||
/* mingw gcc does not support pragma comment, and the
|
||||
* linking with crypt32 is handled in configure.ac */
|
||||
#if !defined(__MINGW32__) && !defined(__MINGW64__)
|
||||
#pragma comment(lib, "crypt32")
|
||||
#endif
|
||||
/* mingw gcc does not support pragma comment, and the
|
||||
* linking with crypt32 is handled in configure.ac */
|
||||
#if !defined(__MINGW32__) && !defined(__MINGW64__)
|
||||
#pragma comment(lib, "crypt32")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && defined(HAVE_SECURITY_SECTRUSTSETTINGS_H)
|
||||
|
@ -837,7 +837,7 @@ int wolfIO_Recv(SOCKET_T sd, char *buf, int sz, int rdFlags)
|
||||
int recvd;
|
||||
|
||||
recvd = (int)RECV_FUNCTION(sd, buf, sz, rdFlags);
|
||||
recvd = TranslateReturnCode(recvd, (int) sd);
|
||||
recvd = TranslateReturnCode(recvd, (int)sd);
|
||||
|
||||
return recvd;
|
||||
}
|
||||
@ -847,7 +847,7 @@ int wolfIO_Send(SOCKET_T sd, char *buf, int sz, int wrFlags)
|
||||
int sent;
|
||||
|
||||
sent = (int)SEND_FUNCTION(sd, buf, sz, wrFlags);
|
||||
sent = TranslateReturnCode(sent, (int) sd);
|
||||
sent = TranslateReturnCode(sent, (int)sd);
|
||||
|
||||
return sent;
|
||||
}
|
||||
@ -1800,7 +1800,7 @@ int EmbedOcspLookup(void* ctx, const char* url, int urlSz,
|
||||
WOLFSSL_MSG("OCSP ocsp request failed");
|
||||
}
|
||||
else {
|
||||
ret = wolfIO_HttpProcessResponseOcsp((int) sfd, ocspRespBuf, httpBuf,
|
||||
ret = wolfIO_HttpProcessResponseOcsp((int)sfd, ocspRespBuf, httpBuf,
|
||||
HTTP_SCRATCH_BUFFER_SIZE, ctx);
|
||||
}
|
||||
if (sfd != SOCKET_INVALID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user