summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--providers/implementations/rands/test_rng.c1
-rw-r--r--test/build.info2
2 files changed, 2 insertions, 1 deletions
diff --git a/providers/implementations/rands/test_rng.c b/providers/implementations/rands/test_rng.c
index 3f3ab236f9..33cbd20e9b 100644
--- a/providers/implementations/rands/test_rng.c
+++ b/providers/implementations/rands/test_rng.c
@@ -96,6 +96,7 @@ static int test_rng_uninstantiate(void *vtest)
PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest;
t->entropy_pos = 0;
+ t->state = EVP_RAND_STATE_UNINITIALISED;
return 1;
}
diff --git a/test/build.info b/test/build.info
index b7fafb7eba..0ce3e27ae8 100644
--- a/test/build.info
+++ b/test/build.info
@@ -381,7 +381,7 @@ IF[{- !$disabled{tests} -}]
DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a
SOURCE[drbgtest]=drbgtest.c
- INCLUDE[drbgtest]=../include ../apps/include
+ INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include
DEPEND[drbgtest]=../libcrypto.a libtestutil.a
SOURCE[rand_status_test]=rand_status_test.c