[openssl/openssl] 99fb31: Add atexit configuration option to using atexit() ...

Randall S. Becker noreply at github.com
Fri Feb 2 01:31:20 UTC 2024


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

  Changed paths:
    M .github/workflows/run-checker-daily.yml
    M CHANGES.md
    M Configurations/50-nonstop.conf
    M Configure
    M INSTALL.md
    M NOTES-NONSTOP.md
    M crypto/init.c

  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.

The no-atexit option has been added to .github/workflows/run-checker-daily.yml.

Fixes: #23135

Signed-of-by: Randall S. Becker <randall.becker at nexbridge.ca>

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/23394)




More information about the openssl-commits mailing list