star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit 1c060b8a657dd4cfb9f427780e540d7895de44bf
parent 43245f9bfc33b3d04b7091c96ace670a234b579a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 20 Jul 2022 20:47:51 +0200

Fix Threefry RNG creation when AES support is disabled

Diffstat:
Msrc/ssp_rng.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ssp_rng.c b/src/ssp_rng.c @@ -538,8 +538,8 @@ ssp_rng_create break; case SSP_RNG_THREEFRY: res = rng_create(mem_allocator, &rng_threefry, out_rng); -#ifdef WITH_R123_AES break; +#ifdef WITH_R123_AES case SSP_RNG_AES: res = rng_create(mem_allocator, &rng_aes, out_rng); break;