Page MenuHomeFreeBSD

OpenSSL: make legacy symbols visible
AbandonedPublic

Authored by kp on Sep 15 2023, 1:42 PM.
Tags
None
Referenced Files
F102162745: D41874.diff
Fri, Nov 8, 9:38 AM
Unknown Object (File)
Wed, Oct 30, 10:20 AM
Unknown Object (File)
Sat, Oct 26, 4:23 PM
Unknown Object (File)
Sat, Oct 19, 3:21 AM
Unknown Object (File)
Oct 4 2024, 1:14 PM
Unknown Object (File)
Sep 17 2024, 5:57 AM
Unknown Object (File)
Sep 16 2024, 1:55 PM
Unknown Object (File)
Sep 14 2024, 4:09 PM
Subscribers

Details

Summary

When we load the legacy.so module we bound the symbols locally, so they
were not accessible to other libraries. This broke expectations for
things like py-cryptography, which expected to be able to use legacy
algorithms.

Other operating systems (e.g. Debian 12) link legacy.so into
libcrypto.so, but OpenSSL 3 supports this separate configuration, and
that's also what the OpenSSL 3 port does.

It was also easier to build legacy.so for FreeBSD this way, when
dealing with the build order: libcrypto.so would need to be built before
legacy.so.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 53603
Build 50494: arc lint + arc unit