Files
Gordon Tetlow f3b6bb1404 openssl: restore removed libcrypto symbols as compat symbols
c01c0a27cb (D60397) stopped exporting 52 names from libcrypto.so.35 that
upstream does not export.  Binaries and libraries linked against the
earlier libcrypto.so.35 can still import them; the libssl.so.35 from
15.0 and 15.1 imports 15 of them, so it fails to load with the new
libcrypto.

Provide all 52 again as non-default (compat) versions, in the version
nodes they had before: OPENSSL_cpuid_setup@OPENSSL_3_0_9, the others
@OPENSSL_3_5_0.  Existing consumers resolve them; new links cannot bind
to them.  The default exports do not change and still match upstream.

The wrappers live in a new FreeBSD-only file, compat.c.  Remove it at
the next SHLIB_MAJOR bump.

Reviewed by:		ngie
Fixes:			c01c0a27cb ("openssl: make libcrypto export the same symbols as upstream")
MFC after:		2 weeks
MFC to:			stable/15
Event:			FreeBSD Vendor Summit 2026
Differential Revision:	https://reviews.freebsd.org/D61229
2026-11-06 10:54:13 -08:00
..
2026-10-20 19:24:31 +00:00
2026-05-14 18:59:30 +00:00