git: c60573f3eb65 - main - bhyve: Restore OPENSSL_API_COMPAT

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sat, 14 Nov 2026 16:01:57 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=c60573f3eb6558c4e16dd9e8bcd815cf557c2f6a

commit c60573f3eb6558c4e16dd9e8bcd815cf557c2f6a
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-11-14 15:58:15 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-11-14 15:58:15 +0000

    bhyve: Restore OPENSSL_API_COMPAT
    
    It's still needed by the VNC code for now.
    
    Fixes:  12a57b078972 ("auditdistd, bhyve: drop OPENSSL_API_COMPAT")
---
 usr.sbin/bhyve/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index 2cca658aff7f..0fb0e1028398 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -120,6 +120,7 @@ LIBADD+=	netgraph
 CFLAGS+=-DNO_OPENSSL
 .else
 LIBADD+=	crypto
+CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
 .endif
 
 CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000