HomeFreeBSD

libcrypto: link engines and the legacy provider to libcrypto

Description

libcrypto: link engines and the legacy provider to libcrypto

OpenSSL's legacy provider module and engines need to link to
libcrypto.so, as it provides some of the actual implementations of
legacy routines.

This is a little tricky due to build order issues. Introduce a small
hack (LIBCRYPTO_WITHOUT_SUBDIRS) that builds libcrypto.so in its usual
early phase without any OpenSSL provider modules or engines. This is
intended to restore the test suite; a future change should remove the
hack and replace it with a better approach.

PR: 254853, 273528
Discussed with: Folks at EuroBSDCon in Coimbra
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 1a18383a52bc373e316d224cef1298debf6f7e25)

Details

Provenance
khorben_defora.orgAuthored on Sep 15 2023, 3:14 PM
emasteCommitted on Sep 19 2023, 3:01 PM
Parents
rG51d54ed6151b: tcpdump: Initialize tzcode early.
Branches
Unknown
Tags
Unknown