test: fix compiling unit test on win32

This commit is contained in:
Simon Goldschmidt
2019-01-30 14:53:41 +01:00
parent 2cc420e434
commit 2037ec371c
4 changed files with 12 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ static DWORD netconn_sem_tls_index;
static HCRYPTPROV hcrypt;
u32_t
sys_win_rand(void)
lwip_port_rand(void)
{
u32_t ret;
if (CryptGenRandom(hcrypt, sizeof(ret), (BYTE*)&ret)) {