Page MenuHomeFreeBSD

bhyve: specify OpenSSL 1.1 API
ClosedPublic

Authored by emaste on May 8 2023, 12:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 11, 12:32 AM
Unknown Object (File)
Oct 20 2025, 12:37 AM
Unknown Object (File)
Oct 20 2025, 12:37 AM
Unknown Object (File)
Oct 19 2025, 10:50 AM
Unknown Object (File)
Oct 18 2025, 9:34 PM
Unknown Object (File)
Oct 13 2025, 1:12 PM
Unknown Object (File)
Oct 8 2025, 1:48 AM
Unknown Object (File)
Sep 16 2025, 6:49 AM

Details

Summary
OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in
use, and hide interfaces that are deprecated in that version.  This is
a NFC while we're using OpenSSL 1.1.1 but will avoid deprecation
warnings when be switch to OpenSSL 3.0.  A future change can switch to
OpenSSL 3.0 APIs.

Sponsored by:   The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

My thinking here is that we can add this #define to all of the software using APIs deprecated in OpenSSL 3.0 and later (which includes, dma, decryptcore, auditdistd, etc.).

jhb added a subscriber: jhb.

I think that approach is fine for now, and it lets us stage things into the tree more gracefully.

This revision is now accepted and ready to land.May 8 2023, 6:18 PM
This revision was automatically updated to reflect the committed changes.