Fix warning on MinGW and MSVC12

This commit is contained in:
Paul Bakker 2014-07-08 11:16:44 +02:00
parent 8cb73200e1
commit 22a0ce0cef
2 changed files with 2 additions and 1 deletions

View File

@ -448,7 +448,7 @@ unsigned char result_nopr[16] =
{ 0xa0, 0x54, 0x30, 0x3d, 0x8a, 0x7e, 0xa9, 0x88,
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 )
{
unsigned char *p = data;

View File

@ -223,6 +223,7 @@ int net_bind( int *fd, const char *bind_ip, int port )
*/
static int net_would_block( int fd )
{
((void) fd);
return( WSAGetLastError() == WSAEWOULDBLOCK );
}
#else