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

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


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




More information about the openssl-commits mailing list