git: 9c6f3dfda6dd - main - bhyve: specify OpenSSL 1.1 API
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 May 2023 19:45:56 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9c6f3dfda6dd77772c669e3a235b451c9eb467eb commit 9c6f3dfda6dd77772c669e3a235b451c9eb467eb Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2023-05-08 12:09:26 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2023-05-08 18:32:27 +0000 bhyve: specify OpenSSL 1.1 API OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in use for the purpose of hiding deprecated interfaces and enabling the appropriate deprecation notices. This change is a NFC while we're still using OpenSSL 1.1.1 but will avoid deprecation warnings upon the switch to OpenSSL 3.0. A future change can then switch bhyve to use OpenSSL 3.0 APIs. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39998 --- usr.sbin/bhyve/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index 9741d5f66ac1..65a32d2fb0b9 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -111,6 +111,7 @@ LIBADD+= netgraph CFLAGS+=-DNO_OPENSSL .else LIBADD+= crypto +CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L .endif CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000