]> git.ipfire.org Git - thirdparty/openssl.git/commit
remove all atexit() tests in shlibloadtest
authorAlexandr Nedvedicky <sashan@openssl.org>
Thu, 12 Feb 2026 10:10:03 +0000 (11:10 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 13 Feb 2026 15:15:03 +0000 (16:15 +0100)
commiteb962a78b5cda85b9ff80d2bd5981021a1a7b9cc
treedc8437e0d722ab23d8957369354e4e0e1bc6b4d3
parentd2f54e1b406614efc3248a5da85dfeba1d8eb519
remove all atexit() tests in shlibloadtest

The shlibloadtest used atexit() handler to verify
library pinning works as expected. The libcrypto
no longer arms atexit handler which also used to
fire upon shlib unload. We can not use the atexit
mechansim to test shared library pinning.

If the shlibload test does not crash on exit, then
library pinning must work.

Fixes openssl/project#1869

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Fri Feb 13 15:15:04 2026
(Merged from https://github.com/openssl/openssl/pull/29987)
test/recipes/90-test_shlibload.t
test/shlibloadtest.c