diff options
author | Neil Horman <nhorman@openssl.org> | 2023-11-30 11:20:34 -0500 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-12-06 17:02:17 +0100 |
commit | 426d34fc1302eb0d2f5a6152621c105ea2d198b6 (patch) | |
tree | dd4e250a22255dc076fec3189df8835e53b905ef /crypto | |
parent | bd10e134b228803d4e33d44879adadc856a02a25 (diff) |
Statically link legacy provider to evp_extra_test
Like in #17345, evp_extra_test links libcrypto statically, but also has
a dynamic/shared load via the legacy provider, which leads to ambiguous
behavior in evp_extra_test on some platforms, usually a crash (SIGSEGV)
on exit via the atexit handlers. Statically link the legacy provider to
avoid this.
Fixes #22819
Helped-by: Neil Horman <nhorman@openssl.org>
Helped-by: Tomas Mraz <tomas@openssl.org>
Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22904)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/build.info | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/build.info b/crypto/build.info index c04db55911..a45bf8deef 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -74,8 +74,8 @@ DEFINE[../providers/libfips.a]=$CPUIDDEF # already gets everything that the static libcrypto.a has, and doesn't need it # added again. IF[{- !$disabled{module} && !$disabled{shared} -}] - SOURCE[../providers/liblegacy.a]=$CPUID_COMMON - DEFINE[../providers/liblegacy.a]=$CPUIDDEF + SOURCE[../providers/legacy]=$CPUID_COMMON + DEFINE[../providers/legacy]=$CPUIDDEF ENDIF # Implementations are now spread across several libraries, so the CPUID define |