Page MenuHomeFreeBSD

OpenSSL: make legacy symbols visible
AbandonedPublic

Authored by kp on Sep 15 2023, 1:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 22, 3:46 PM
Unknown Object (File)
Tue, May 14, 12:45 PM
Unknown Object (File)
Apr 22 2024, 12:08 AM
Unknown Object (File)
Feb 22 2024, 8:25 AM
Unknown Object (File)
Jan 10 2024, 1:04 PM
Unknown Object (File)
Dec 29 2023, 8:15 AM
Unknown Object (File)
Dec 11 2023, 1:08 AM
Unknown Object (File)
Nov 7 2023, 4:24 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