summaryrefslogtreecommitdiffstats
path: root/crypto/rc4
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-06-08 10:50:52 +0200
committerTomas Mraz <tomas@openssl.org>2023-06-10 13:02:11 +0200
commitfce1cb15d8d3bddbd68d23eb206ef95f902778d9 (patch)
treee3e6d1d14003abc13070dd7db6ca13f860e2bff7 /crypto/rc4
parentfefeecf00dd75a44dc33569f857aa741f59ccbb4 (diff)
Set RC4 defines on libcrypto/liblegacy
Also add missing prototype for rc4_md5_enc. Fixes #21150 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21153) (cherry picked from commit 58e8af4cecd23dbea2e6b061ab68190b38d64145)
Diffstat (limited to 'crypto/rc4')
-rw-r--r--crypto/rc4/build.info7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info
index 68b3c73f55..c9c81f87da 100644
--- a/crypto/rc4/build.info
+++ b/crypto/rc4/build.info
@@ -21,10 +21,15 @@ 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'} && !$disabled{module} && !$disabled{shared} -}]
+IF[{- !$disabled{module} && !$disabled{shared} -}]
SOURCE[../../providers/liblegacy.a]=$RC4ASM
ENDIF
+# Implementations are now spread across several libraries, so the defines
+# need to be applied to all affected libraries and modules.
+DEFINE[../../libcrypto]=$RC4DEF
+DEFINE[../../providers/liblegacy.a]=$RC4DEF
+
GENERATE[rc4-586.S]=asm/rc4-586.pl
DEPEND[rc4-586.S]=../perlasm/x86asm.pl