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)
Mon, Oct 20, 12:37 AM
Unknown Object (File)
Mon, Oct 20, 12:37 AM
Unknown Object (File)
Sun, Oct 19, 10:50 AM
Unknown Object (File)
Sat, Oct 18, 9:34 PM
Unknown Object (File)
Mon, Oct 13, 1:12 PM
Unknown Object (File)
Wed, Oct 8, 1:48 AM
Unknown Object (File)
Sep 16 2025, 6:49 AM
Unknown Object (File)
Sep 8 2025, 5:56 PM

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.