diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-01-25 16:32:02 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-01-31 11:10:22 +1100 |
commit | f6a6f7b6aa84dab44384780cb77050d15c5f575e (patch) | |
tree | b796dd6ceeab4fc712109c26624a23a5eef48e5d /crypto/bn | |
parent | f66c1272f92bed6bc8aa17f6a8956d9e2e5b7798 (diff) | |
download | openssl-new-f6a6f7b6aa84dab44384780cb77050d15c5f575e.tar.gz |
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/bn')
-rw-r--r-- | crypto/bn/build.info | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/bn/build.info b/crypto/bn/build.info index 987a70ae26..cbf80ce6ca 100644 --- a/crypto/bn/build.info +++ b/crypto/bn/build.info @@ -116,11 +116,6 @@ IF[{- !$disabled{'deprecated-3.0'} -}] ENDIF SOURCE[../../providers/libfips.a]=$COMMON $BNASM DEFINE[../../providers/libfips.a]=$BNDEF -# Because some CPUID implementations use some BN assembler (!!!), we -# must include assembler code into the legacy provider under the same -# conditions as CPUID code is included. See ../build.info -SOURCE[../../providers/liblegacy.a]=$BNASM -DEFINE[../../providers/liblegacy.a]=$BNDEF # Implementations are now spread across several libraries, so the defines # need to be applied to all affected libraries and modules. DEFINE[../../providers/libcommon.a]=$BNDEF |