[openssl/openssl] 906c67: Add atexit configuration option to using atexit() ...

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 906c67828956ad15200bc6e61d086b9fa73dc328
      https://github.com/openssl/openssl/commit/906c67828956ad15200bc6e61d086b9fa73dc328
  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: 801eed6e29623584914824dcfec15ec8e3a86dd3
      https://github.com/openssl/openssl/commit/801eed6e29623584914824dcfec15ec8e3a86dd3
  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/c8dd22a2b654...801eed6e2962

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