[openssl/openssl] 0e1989: Add atexit configuration option to using atexit() ...

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


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 0e1989d4c7435809b60f614c23ba8c9a7c0373e8
      https://github.com/openssl/openssl/commit/0e1989d4c7435809b60f614c23ba8c9a7c0373e8
  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)


  Commit: 66e6f72c3e4221580a7f456ddeaa5027f0bbb8b7
      https://github.com/openssl/openssl/commit/66e6f72c3e4221580a7f456ddeaa5027f0bbb8b7
  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)


Compare: https://github.com/openssl/openssl/compare/94f9ae9ffc29...66e6f72c3e42

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