From: David Marchand <david.marchand@redhat.com>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: Fan Zhang <roy.fan.zhang@intel.com>,
Chandubabu Namburu <chandu@amd.com>, dev <dev@dpdk.org>
Subject: Re: [PATCH 1/1] drivers: define OPENSSL_API_COMPAT
Date: Tue, 17 May 2022 14:03:06 +0200 [thread overview]
Message-ID: <CAJFAV8xZq+7C2+BhHGhq+xjU_brDakkLwhRB_L6nNPR4BeNcdQ@mail.gmail.com> (raw)
In-Reply-To: <20220510150635.61975-1-heinrich.schuchardt@canonical.com>
On Tue, May 10, 2022 at 5:06 PM Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> The API of the OpenSSL library has changed with version 3.0. This results
> in a lot of compiler warnings like
>
> ../dpdk/drivers/crypto/ccp/ccp_crypto.c:182:9:
> warning: ‘SHA256_Transform’ is deprecated:
> Since OpenSSL 3.0 [-Wdeprecated-declarations]
>
> As many Linux distributions still use elder OpenSSL libraries we cannot
> change the used API now. Instead define OPENSSL_API_COMPAT to indicate
> that we are using the OpenSSL 1.1.0 API.
>
> OPENSSL_API_COMPAT is introduced in *.c files and not in *.h files as some
> *.c files directly include OpenSSL headers.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thanks for the fix, I got a new shiny laptop running Fedora 36 and hit
this issue.
That may be something we want to backport, and I would then Cc: stable@dpdk.org.
Tested-by: David Marchand <david.marchand@redhat.com>
--
David Marchand
next prev parent reply other threads:[~2022-05-17 12:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-10 15:06 Heinrich Schuchardt
2022-05-13 10:02 ` Gao, DaxueX
2022-05-17 12:03 ` David Marchand [this message]
2022-05-26 16:18 ` [EXT] " Akhil Goyal
2022-05-17 16:30 ` Ji, Kai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJFAV8xZq+7C2+BhHGhq+xjU_brDakkLwhRB_L6nNPR4BeNcdQ@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=chandu@amd.com \
--cc=dev@dpdk.org \
--cc=heinrich.schuchardt@canonical.com \
--cc=roy.fan.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).