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:07:05 +0000 (17:07 +0100)
commit5aaa3458e5d21898cec119f80ffec0b0023ce9c9
tree99b1d7001767dbdaaefaba3dea59e5929b0b3f25
parent31d6565c846f84a0b3cb64c90cfc295c6f92ce6f
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)

(cherry picked from commit 2fea56832780248af2aba2e4433ece2d18428515)
apps/lib/apps.c
test/recipes/20-test_legacy_okay.t [new file with mode: 0755]