From f5056577ba08b3694aab2722eae1c97bf00acc80 Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Thu, 9 Apr 2020 12:47:46 +1000 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/11419) --- crypto/rc4/build.info | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/rc4') diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info index abc0c52d0c..c7f17ca5f5 100644 --- a/crypto/rc4/build.info +++ b/crypto/rc4/build.info @@ -19,6 +19,12 @@ ENDIF SOURCE[../../libcrypto]=$RC4ASM +# When all deprecated symbols are removed, libcrypto doesn't export the +# rc4 functions, so we must include them directly in liblegacy.a +IF[{- $disabled{'deprecated-3.0'} -}] + SOURCE[../../providers/liblegacy.a]=$RC4ASM +ENDIF + GENERATE[rc4-586.s]=asm/rc4-586.pl DEPEND[rc4-586.s]=../perlasm/x86asm.pl -- cgit v1.2.3