[openssl/openssl] 426d34: Statically link legacy provider to evp_extra_test

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


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

  Changed paths:
    M crypto/build.info
    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)




More information about the openssl-commits mailing list