forked from wolfSSL/wolfssl
add fe_low_mem.c to wolfssl vs project and fix a couple warnings
This commit is contained in:
@@ -1030,7 +1030,7 @@ int wolfIO_TcpBind(SOCKET_T* sockfd, word16 port)
|
|||||||
#ifdef HAVE_SOCKADDR
|
#ifdef HAVE_SOCKADDR
|
||||||
int wolfIO_TcpAccept(SOCKET_T sockfd, SOCKADDR* peer_addr, XSOCKLENT* peer_len)
|
int wolfIO_TcpAccept(SOCKET_T sockfd, SOCKADDR* peer_addr, XSOCKLENT* peer_len)
|
||||||
{
|
{
|
||||||
return accept(sockfd, peer_addr, peer_len);
|
return (int)accept(sockfd, peer_addr, peer_len);
|
||||||
}
|
}
|
||||||
#endif /* HAVE_SOCKADDR */
|
#endif /* HAVE_SOCKADDR */
|
||||||
|
|
||||||
|
@@ -5008,7 +5008,7 @@ static int PKCS7_VerifySignedData(PKCS7* pkcs7, const byte* hashBuf,
|
|||||||
version = pkcs7->version;
|
version = pkcs7->version;
|
||||||
|
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
byte isDynamic = pkcs7->isDynamic;
|
byte isDynamic = (byte)pkcs7->isDynamic;
|
||||||
#ifndef NO_PKCS7_STREAM
|
#ifndef NO_PKCS7_STREAM
|
||||||
PKCS7State* stream = pkcs7->stream;
|
PKCS7State* stream = pkcs7->stream;
|
||||||
pkcs7->stream = NULL;
|
pkcs7->stream = NULL;
|
||||||
|
@@ -305,6 +305,7 @@
|
|||||||
<ClCompile Include="wolfcrypt\src\ed448.c" />
|
<ClCompile Include="wolfcrypt\src\ed448.c" />
|
||||||
<ClCompile Include="wolfcrypt\src\error.c" />
|
<ClCompile Include="wolfcrypt\src\error.c" />
|
||||||
<ClCompile Include="wolfcrypt\src\fe_448.c" />
|
<ClCompile Include="wolfcrypt\src\fe_448.c" />
|
||||||
|
<ClCompile Include="wolfcrypt\src\fe_low_mem.c" />
|
||||||
<ClCompile Include="wolfcrypt\src\fe_operations.c" />
|
<ClCompile Include="wolfcrypt\src\fe_operations.c" />
|
||||||
<ClCompile Include="wolfcrypt\src\ge_448.c" />
|
<ClCompile Include="wolfcrypt\src\ge_448.c" />
|
||||||
<ClCompile Include="wolfcrypt\src\ge_low_mem.c" />
|
<ClCompile Include="wolfcrypt\src\ge_low_mem.c" />
|
||||||
|
Reference in New Issue
Block a user