Since the atexit() handler was removed in [1], no-atexit configuration
option has no effect, so update the documentation accordingly.
[1] https://github.com/openssl/openssl/pull/29385
References: https://github.com/openssl/openssl/pull/30742
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
MergeDate: Tue Apr 14 08:50:35 2026
(Merged from https://github.com/openssl/openssl/pull/30776)
Do not use `atexit()` in libcrypto builds.
-`atexit()` has varied semantics between platforms and can cause SIGSEGV in some
-circumstances. This option disables the atexit registration of OPENSSL_cleanup.
-By default, NonStop configurations use `no-atexit`.
+Before version 4.0, OpenSSL used to set `atexit()` handler for cleaning up
+global data, and this option allowed to disable that functionality. `atexit()`
+handler setup was removed in OpenSSL 4.0, so this option does nothing now.
### no-autoalginit