From: Dimitri John Ledkov Date: Sun, 23 Feb 2025 17:50:21 +0000 (+0000) Subject: Add ifndef to seed-src_jitter too X-Git-Tag: openssl-3.5.0-alpha1~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7c0fa601ec29d7a42890aae1e3bccfa0eac896f;p=thirdparty%2Fopenssl.git Add ifndef to seed-src_jitter too Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/25930) --- diff --git a/providers/implementations/rands/seed_src_jitter.c b/providers/implementations/rands/seed_src_jitter.c index cc7aaca6322..c154964cb94 100644 --- a/providers/implementations/rands/seed_src_jitter.c +++ b/providers/implementations/rands/seed_src_jitter.c @@ -295,6 +295,7 @@ static size_t jitter_get_seed(void *vseed, unsigned char **pout, return ret; } +# ifndef OPENSSL_NO_FIPS_JITTER size_t ossl_rand_jitter_get_seed(unsigned char **pout, int entropy, size_t min_len, size_t max_len) { size_t ret = 0; @@ -310,6 +311,7 @@ size_t ossl_rand_jitter_get_seed(unsigned char **pout, int entropy, size_t min_l jitter_free(s); return ret; } +# endif static void jitter_clear_seed(ossl_unused void *vdrbg, unsigned char *out, size_t outlen)