archive mirror
 help / color / mirror / Atom feed
From: Aleksander Adamowski <>
To: "Eric Biggers" <>,
	"Tomasz Kłoczko" <>
Cc: "" <>
Subject: Re: [fsverity-utils] 1.4: test suite does not build
Date: Mon, 20 Sep 2021 20:05:25 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <YUZGUIRpVjNpupSi@sol.localdomain>

On Saturday, September 18, 2021 1:04 PM, Eric Biggers wrote:
> Aleksander, can you look into these?

These look like compiler warnings, why did they break the build?

The reason for the warnings is that the Engines API that we use with OpenSSL <=
1.1 has started to be deprecated with OpenSSL release 3.0.

The replacement that OpenSSL offers is called "Providers":

Unfortunately, the Providers API is only available starting with version 3.0,
the same version that deprecates Engines:

So, our options here are:

1. Tolerate deprecation warnings from the compiler until the OpenSSL version
that provides the new replacement API is widespread enough to stop supporting
OpenSSL versions <= 1.1 (I think this is the most reasonable approach, after
all that's how deprecation mechanisms are meant to be used).

2. Use a bunch of preprocessor conditional #ifdefs to support both OpenSSL
pre-3.0 with Engines and post-3.0 with Providers. This would make code pretty
messy IMHO, but should be doable. I can start working on a patch if we get
consensus; however, my opinion is that we should withhold from that until
OpenSSL 3 is the standard release on mainstream distros.

  reply	other threads:[~2021-09-20 20:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-18 13:20 Tomasz Kłoczko
2021-09-18 20:04 ` [fsverity-utils] " Eric Biggers
2021-09-20 20:05   ` Aleksander Adamowski [this message]
2021-09-20 21:19     ` Eric Biggers
2021-09-20 21:52       ` Aleksander Adamowski
2021-09-22 18:57         ` Eric Biggers

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 \ \ \ \ \ \
    --subject='Re: [fsverity-utils] 1.4: test suite does not build' \

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

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).