summaryrefslogtreecommitdiffstats
path: root/crypto/idea
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:29:18 +1100
commit5a1b22fc2e67a648820ac6bd52d62775b15b50cc (patch)
treebf8feb3d1b4232ea88813fd8a091913949445889 /crypto/idea
parent721aca05df2e8ba37719e6b111672fd2c9f81c58 (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) (cherry picked from commit f6a6f7b6aa84dab44384780cb77050d15c5f575e) (cherry picked from commit 58e8162e73d9061bd056f041bf07a1573d202d7a)
Diffstat (limited to 'crypto/idea')
-rw-r--r--crypto/idea/build.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/idea/build.info b/crypto/idea/build.info
index 5441351b9c..7ac120918b 100644
--- a/crypto/idea/build.info
+++ b/crypto/idea/build.info
@@ -5,6 +5,6 @@ SOURCE[../../libcrypto]=$ALL
# When all deprecated symbols are removed, libcrypto doesn't export the
# idea 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]=$ALL
ENDIF