Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
filesystems
lustre_2_12
0033-Suppress-OpenSSL-deprecation-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0033-Suppress-OpenSSL-deprecation-warnings.patch of Package lustre_2_12
From a5b10dbe127e9ac9c3f5e4ac6e7735cb6683ce67 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown <neilb@suse.de> Date: Wed, 23 Aug 2023 14:45:46 +1000 Subject: [PATCH 33/35] Suppress OpenSSL deprecation warnings. This code trigger deprecation warnings that I don't want. Remove the, and also allow RAND_bytes() to be found. Signed-off-by: Mr NeilBrown <neilb@suse.de> --- lustre/utils/gss/lgss_sk.c | 2 ++ lustre/utils/gss/sk_utils.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lustre/utils/gss/lgss_sk.c b/lustre/utils/gss/lgss_sk.c index d6d9959cf592..08b918341ab6 100644 --- a/lustre/utils/gss/lgss_sk.c +++ b/lustre/utils/gss/lgss_sk.c @@ -26,6 +26,8 @@ * * Author: Jeremy Filizetti <jfilizet@iu.edu> */ +# define OSSL_DEPRECATED(since) extern +# define OSSL_DEPRECATED_FOR(since, message) extern #include <ctype.h> #include <errno.h> diff --git a/lustre/utils/gss/sk_utils.c b/lustre/utils/gss/sk_utils.c index eca33ba27bde..ab0cc9184f93 100644 --- a/lustre/utils/gss/sk_utils.c +++ b/lustre/utils/gss/sk_utils.c @@ -27,6 +27,8 @@ * Author: Jeremy Filizetti <jfilizet@iu.edu> */ +# define OSSL_DEPRECATED(since) extern +# define OSSL_DEPRECATED_FOR(since, message) extern #include <fcntl.h> #include <limits.h> #include <math.h> @@ -37,6 +39,7 @@ #include <openssl/engine.h> #include <openssl/err.h> #include <openssl/hmac.h> +#include <openssl/rand.h> #include <sys/types.h> #include <sys/stat.h> -- 2.41.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor