diff options
author | Matt Caswell <matt@openssl.org> | 2019-05-23 14:35:42 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-28 10:22:21 +0100 |
commit | 57ca171a131e6d55b4c4f6decefedeaa509db702 (patch) | |
tree | 69f6f52ea75f782b9a60a7702959de68a50da7d9 /test/drbgtest.c | |
parent | 0da1d43a94ffc8f2aaadcaa441f556ed54f0ecda (diff) |
Make the RAND code available from inside the FIPS module
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9035)
Diffstat (limited to 'test/drbgtest.c')
-rw-r--r-- | test/drbgtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/drbgtest.c b/test/drbgtest.c index 618403fd3a..f75c432724 100644 --- a/test/drbgtest.c +++ b/test/drbgtest.c @@ -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; |