diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-01-25 16:32:02 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-01-31 01:10:22 +0100 |
commit | f6a6f7b6aa84dab44384780cb77050d15c5f575e (patch) | |
tree | b796dd6ceeab4fc712109c26624a23a5eef48e5d /crypto/rc4 | |
parent | [doc] Sync documentation now that 3.0 honors OSSL_PKEY_PARAM_EC_POINT_CONVERS... (diff) | |
download | openssl-f6a6f7b6aa84dab44384780cb77050d15c5f575e.tar.xz openssl-f6a6f7b6aa84dab44384780cb77050d15c5f575e.zip |
Avoid duplicating symbols in legacy.a with some build options
If no-module or no-shared is used, the symbols from
libcrypto should not be duplicated in legacy.a
Also the BIGNUM functions are currently not needed
in legacy.a at all.
Fixes #20124
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20137)
Diffstat (limited to 'crypto/rc4')
-rw-r--r-- | crypto/rc4/build.info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info index 14ec94f9f2..68b3c73f55 100644 --- a/crypto/rc4/build.info +++ b/crypto/rc4/build.info @@ -21,7 +21,7 @@ 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'} -}] +IF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}] SOURCE[../../providers/liblegacy.a]=$RC4ASM ENDIF |