]> git.ipfire.org Git - thirdparty/openssl.git/commit - apps/lib/apps.c
Drop explicit check for engines in opt_legacy_okay
authorSimo Sorce <simo@redhat.com>
Mon, 14 Nov 2022 15:25:15 +0000 (10:25 -0500)
committerTomas Mraz <tomas@openssl.org>
Wed, 16 Nov 2022 16:05:58 +0000 (17:05 +0100)
commit2fea56832780248af2aba2e4433ece2d18428515
tree16c2d899ad12f811af433346ef8b0a8f0aadfc6d
parent34c2f90d8ed325a892618ce0e42ebe916966d4d8
Drop explicit check for engines in opt_legacy_okay

The providers indication should always indicate that this is not a
legacy request.
This makes a check for engines redundant as the default return is that
legacy is ok if there are no explicit providers.

Fixes #19662

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19671)
apps/lib/apps.c
test/recipes/20-test_legacy_okay.t [new file with mode: 0755]