diff options
author | Richard Levitte <levitte@openssl.org> | 2023-02-08 08:23:41 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2023-02-14 16:01:19 +0100 |
commit | cd870db16348d0d09cb05b7393cf9281509c7795 (patch) | |
tree | c52e809d76753ee2686401e6ecee237fa140e899 /crypto | |
parent | 6b58f498b3f5d8e4c9197c3c5228fb450e33aaaf (diff) | |
download | openssl-new-cd870db16348d0d09cb05b7393cf9281509c7795.tar.gz |
Use of sparse_array.c only in the shared libssl
Conditioning it on $disabled{shared} isn't right, it will still end up
in the static variant of the library. It's better to use SHARED_SOURCE
for these sorts of things.
Fixes #20238
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20240)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/build.info | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/build.info b/crypto/build.info index f07c16d90e..5c45cd703b 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -101,9 +101,7 @@ $UTIL_COMMON=\ context.c sparse_array.c asn1_dsa.c packet.c param_build.c \ param_build_set.c der_writer.c threads_lib.c params_dup.c -IF[{- !$disabled{shared} -}] - SOURCE[../libssl]=sparse_array.c -ENDIF +SHARED_SOURCE[../libssl]=sparse_array.c SOURCE[../libcrypto]=$UTIL_COMMON \ mem.c mem_sec.c \ |