Make the RAND code available from inside the FIPS module
[oweals/openssl.git] / test / drbgtest.c
index 618403fd3a5b4d729f6e015a5c5ce2935c436b02..f75c4327245bf53d7a84d909ae7cb59c09c00f2a 100644 (file)
@@ -1264,8 +1264,8 @@ static const size_t crngt_num_cases = 6;
 
 static size_t crngt_case, crngt_idx;
 
-static int crngt_entropy_cb(OPENSSL_CTX *ctx, unsigned char *buf,
-                            unsigned char *md,
+static int crngt_entropy_cb(OPENSSL_CTX *ctx, RAND_POOL *pool,
+                            unsigned char *buf, unsigned char *md,
                             unsigned int *md_size)
 {
     size_t i, z;