[openssl/openssl] 73a68d: Add atexit configuration option to using atexit() ...

Tomáš Mráz noreply at github.com
Thu Feb 22 09:42:19 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 73a68d8adde293ad73cb66444b4b683a5697d686
      https://github.com/openssl/openssl/commit/73a68d8adde293ad73cb66444b4b683a5697d686
  Author: Randall S. Becker <randall.becker at nexbridge.ca>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M .github/workflows/run-checker-ci.yml
    M CHANGES.md
    M Configure
    M INSTALL.md
    M NOTES-NONSTOP.md
    M crypto/init.c
    M test/recipes/90-test_shlibload.t

  Log Message:
  -----------
  Add atexit configuration option to using atexit() in libcrypto at build-time.

This fixes an issue with a mix of atexit() usage in DLL and statically linked
libcrypto that came out in the test suite on NonStop, which has slightly
different DLL unload processing semantics compared to Linux. The change
allows a build configuration to select whether to register OPENSSL_cleanup()
with atexit() or not, so avoid situations where atexit() registration causes
SIGSEGV.

INSTALL.md and CHANGES.md have been modified to include and describe this
option.

Signed-off-by: Randall S. Becker <randall.becker at nexbridge.ca>
Signed-off-by: Tomas Mraz <tomas at openssl.org>

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23642)

(cherry picked from commit 0e1989d4c7435809b60f614c23ba8c9a7c0373e8)


  Commit: d3457f990c6acedf54a40e3ef9ada9d5904c66ef
      https://github.com/openssl/openssl/commit/d3457f990c6acedf54a40e3ef9ada9d5904c66ef
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M INSTALL.md
    M test/recipes/90-test_shlibload.t

  Log Message:
  -----------
  Minor wording fixes related to no-atexit

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/23642)

(cherry picked from commit 66e6f72c3e4221580a7f456ddeaa5027f0bbb8b7)


Compare: https://github.com/openssl/openssl/compare/878d31954738...d3457f990c6a

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list