[openssl/openssl] a2b847: Statically link legacy provider to evp_extra_test

Neil Horman noreply at github.com
Wed Dec 6 13:29:51 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: a2b847c52ad35420e8316591a61829a2d3993aec
      https://github.com/openssl/openssl/commit/a2b847c52ad35420e8316591a61829a2d3993aec
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M test/build.info
    M test/evp_extra_test.c

  Log Message:
  -----------
  Statically link legacy provider to evp_extra_test

Like in #17345, evp_extra_test links libcrypto statically, but also has
a dynamic/shared load via the legacy provider, which leads to ambiguous
behavior in evp_extra_test on some platforms, usually a crash (SIGSEGV)
on exit via the atexit handlers.  Statically link the legacy provider to
avoid this.

Fixes #22819

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

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

(cherry picked from commit f529a2eb75374946b60ed686ca6f90fdf244e787)




More information about the openssl-commits mailing list