summaryrefslogtreecommitdiffstats
path: root/crypto/md5
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-01-25 16:32:02 +0100
committerPauli <pauli@openssl.org>2023-01-31 11:10:22 +1100
commitf6a6f7b6aa84dab44384780cb77050d15c5f575e (patch)
treeb796dd6ceeab4fc712109c26624a23a5eef48e5d /crypto/md5
parentf66c1272f92bed6bc8aa17f6a8956d9e2e5b7798 (diff)
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/md5')
-rw-r--r--crypto/md5/build.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/md5/build.info b/crypto/md5/build.info
index e8c547842a..34f29faf76 100644
--- a/crypto/md5/build.info
+++ b/crypto/md5/build.info
@@ -24,7 +24,7 @@ SOURCE[../../libcrypto]=$COMMON
# default provider. A no-deprecated build removes the external definition from
# libcrypto and this means that the code needs to be in liblegacy. However,
# when building without 'dso', liblegacy is included in libcrypto.
-IF[{- !$disabled{dso} -}]
+IF[{- !$disabled{module} && !$disabled{shared} -}]
SOURCE[../../providers/liblegacy.a]=$COMMON
ENDIF