Whamcloud - gitweb
LU-18754 build: explicitly include openssl/rand.h 31/58231/2
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 26 Feb 2025 12:04:15 +0000 (19:04 +0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Mar 2025 08:11:11 +0000 (08:11 +0000)
el10 build fails with:
   error: implicit declaration of function 'RAND_bytes'

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ieb1b75fbf7029b712addf9222d412d3bfa91e59e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58231
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Caleb Carlson <caleb.carlson@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/gss/sk_utils.c

index 1aeef05..8ad0fec 100644 (file)
@@ -37,6 +37,7 @@
 #include <openssl/engine.h>
 #include <openssl/err.h>
 #include <openssl/hmac.h>
+#include <openssl/rand.h>
 #ifdef HAVE_OPENSSL_EVP_PKEY
 #include <openssl/param_build.h>
 #endif