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
This commit is contained in:
parent
76887e84be
commit
9c6f3dfda6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user