diff options
author | Matthias St. Pierre <matthias.st.pierre@ncp-e.com> | 2023-05-17 11:54:07 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-06-12 08:33:00 +0200 |
commit | ce451fb86141fedad607bd68840639b06616047e (patch) | |
tree | b79ca2634da49c3015f378b8821d4f1bb1c6b56b /crypto/cmac | |
parent | 959c150a1dcc4535c2d94ac6f3310566723911f1 (diff) |
INSTALL: document shared library pinning for static builds
The libcrypto library uses shared library pinning to prevent its
cleanup handlers from crashing at program termination because of a
premature unloading of the shared library.
However, shared library pinning is enabled also for static builds,
which may lead to surpising behaviour if libcrypto is linked
statically to a shared third-party library, because in this case
the third-party library gets pinned.
This surprising behaviour is caused by the fact that the `no-shared`
configure option does not imply `no-pinshared`. Since this quirk
can't be changed without potentially breaking existing code, we just
document it here and provide a workaround.
Fixes #20977
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20985)
Diffstat (limited to 'crypto/cmac')
0 files changed, 0 insertions, 0 deletions