X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Frand%2Frand_lib.c;h=0e8201316307dc940565e8e0a51d8f0c0d7adca2;hp=c653d38c8a03950829736a3f988149e3f31f3b19;hb=b8b6a13a569fc6a5ad097502cdc87a121a27f3c6;hpb=7608978861ccef4823d7fbc4598879b104597121 diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index c653d38c8a..0e82013163 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -253,7 +253,7 @@ int RAND_init_fips(void) dctx = FIPS_get_default_drbg(); FIPS_drbg_init(dctx, NID_aes_256_ctr, DRBG_FLAG_CTR_USE_DF); FIPS_drbg_set_callbacks(dctx, - drbg_get_entropy, drbg_free_entropy, + drbg_get_entropy, drbg_free_entropy, 20, drbg_get_entropy, drbg_free_entropy); FIPS_drbg_set_rand_callbacks(dctx, drbg_get_adin, 0, drbg_rand_seed, drbg_rand_add);