Avoid duplicating symbols in legacy.a with some build options
authorTomas Mraz <tomas@openssl.org>
Wed, 25 Jan 2023 15:32:02 +0000 (16:32 +0100)
committerPauli <pauli@openssl.org>
Tue, 31 Jan 2023 00:10:22 +0000 (11:10 +1100)
commitf6a6f7b6aa84dab44384780cb77050d15c5f575e
treeb796dd6ceeab4fc712109c26624a23a5eef48e5d
parentf66c1272f92bed6bc8aa17f6a8956d9e2e5b7798
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)
15 files changed:
crypto/bf/build.info
crypto/bn/build.info
crypto/cast/build.info
crypto/des/build.info
crypto/idea/build.info
crypto/md2/build.info
crypto/md4/build.info
crypto/md5/build.info
crypto/mdc2/build.info
crypto/rc2/build.info
crypto/rc4/build.info
crypto/rc5/build.info
crypto/ripemd/build.info
crypto/seed/build.info
crypto/whrlpool/build.info