mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
Check that fork() returns >= 0 in RAND_poll fork test
This commit is contained in:
@@ -33165,6 +33165,7 @@ static int test_wolfSSL_RAND_poll(void)
|
||||
|
||||
ExpectIntEQ(pipe(pipefds), 0);
|
||||
pid = fork();
|
||||
ExpectIntGE(pid, 0);
|
||||
if (pid == 0)
|
||||
{
|
||||
ssize_t n_written = 0;
|
||||
|
Reference in New Issue
Block a user