diff options
author | Matt Caswell <matt@openssl.org> | 2021-03-22 11:26:04 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-03-23 17:24:47 +0000 |
commit | a669418c8eb64d0e3cb62af1794949066a253039 (patch) | |
tree | 4d87de3a1c06428686b8b5968424e48fea59779e /crypto | |
parent | ccdfcf07d9fb5e286f4a1f08df5e571869c88672 (diff) |
Be more selective about copying libcrypto symbols into legacy.so
Some private libcrypto symbols are also included in legacy.so.
Unfortunately this included some files with "RUN_ONCE" functions and
global data. This doesn't get properly cleaned up when OpenSSL exits.
Therefore we are more selective about the symbols we include in legacy.so.
Fixes #13560
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14646)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/build.info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/build.info b/crypto/build.info index 7fe79e2296..dc180d0252 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -81,7 +81,7 @@ SOURCE[../libcrypto]=$UTIL_COMMON \ punycode.c \ $UPLINKSRC SOURCE[../providers/libfips.a]=$UTIL_COMMON -SOURCE[../providers/liblegacy.a]=$UTIL_COMMON +SOURCE[../providers/liblegacy.a]=cryptlib.c $CPUIDASM ctype.c # Implementations are now spread across several libraries, so the defines # need to be applied to all affected libraries and modules. |