mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 23:01:10 +00:00
Fix warning on MinGW and MSVC12
This commit is contained in:
parent
8cb73200e1
commit
22a0ce0cef
|
@ -448,7 +448,7 @@ unsigned char result_nopr[16] =
|
||||||
{ 0xa0, 0x54, 0x30, 0x3d, 0x8a, 0x7e, 0xa9, 0x88,
|
{ 0xa0, 0x54, 0x30, 0x3d, 0x8a, 0x7e, 0xa9, 0x88,
|
||||||
0x9d, 0x90, 0x3e, 0x07, 0x7c, 0x6f, 0x21, 0x8f };
|
0x9d, 0x90, 0x3e, 0x07, 0x7c, 0x6f, 0x21, 0x8f };
|
||||||
|
|
||||||
int test_offset;
|
static size_t test_offset;
|
||||||
int ctr_drbg_self_test_entropy( void *data, unsigned char *buf, size_t len )
|
int ctr_drbg_self_test_entropy( void *data, unsigned char *buf, size_t len )
|
||||||
{
|
{
|
||||||
unsigned char *p = data;
|
unsigned char *p = data;
|
||||||
|
|
|
@ -223,6 +223,7 @@ int net_bind( int *fd, const char *bind_ip, int port )
|
||||||
*/
|
*/
|
||||||
static int net_would_block( int fd )
|
static int net_would_block( int fd )
|
||||||
{
|
{
|
||||||
|
((void) fd);
|
||||||
return( WSAGetLastError() == WSAEWOULDBLOCK );
|
return( WSAGetLastError() == WSAEWOULDBLOCK );
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue