Move legacy ciphers into the legacy provider
authorShane Lontis <shane.lontis@oracle.com>
Thu, 9 Apr 2020 02:47:46 +0000 (12:47 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Thu, 9 Apr 2020 02:47:46 +0000 (12:47 +1000)
commitf5056577ba08b3694aab2722eae1c97bf00acc80
tree00492b31c1e6b69164d5a3be50557bac18cdcd2e
parentcc45a884bd499e8b84de0c0133746591c3712f4c
Move legacy ciphers into the legacy provider

DES, idea, seed, rc2, rc4, rc5, cast and blowfish have been moved out of the default provider.
Code shared between desx and tdes has been moved into a seperate file (cipher_tdes_common.c).
3 test recipes failed due to using app/openssl calls that used legacy ciphers.
These calls have been updated to supply both the default and legacy providers.
Fixed openssl app '-provider' memory leak

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11419)
21 files changed:
apps/include/apps.h
apps/include/opt.h
apps/lib/app_provider.c
apps/openssl.c
crypto/bf/build.info
crypto/cast/build.info
crypto/des/build.info
crypto/idea/build.info
crypto/rc2/build.info
crypto/rc4/build.info
crypto/rc5/build.info
crypto/seed/build.info
providers/build.info
providers/defltprov.c
providers/implementations/ciphers/build.info
providers/implementations/ciphers/cipher_tdes.c
providers/implementations/ciphers/cipher_tdes_common.c [new file with mode: 0644]
providers/legacyprov.c
test/recipes/20-test_enc.t
test/recipes/20-test_enc_more.t
test/recipes/80-test_cms.t