[openssl/openssl] 7cae42: Statically link legacy provider to evp_extra_test

Neil Horman noreply at github.com
Wed Dec 6 16:04:57 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 7cae4263860648f49417f2d5a8a3728329ab109a
      https://github.com/openssl/openssl/commit/7cae4263860648f49417f2d5a8a3728329ab109a
  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/22904)

(cherry picked from commit 426d34fc1302eb0d2f5a6152621c105ea2d198b6)




More information about the openssl-commits mailing list