DPDK patches and discussions
 help / color / mirror / Atom feed
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
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

  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:

* 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 \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git