git: 12a57b078972 - main - auditdistd, bhyve: drop OPENSSL_API_COMPAT

From: Gordon Tetlow <gordon_at_FreeBSD.org>
Date: Sat, 14 Nov 2026 05:36:17 UTC
The branch main has been updated by gordon:

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

commit 12a57b078972c4f2778dfaa2faa96a4c64f59dc6
Author:     Gordon Tetlow <gordon@FreeBSD.org>
AuthorDate: 2026-11-08 03:51:18 +0000
Commit:     Gordon Tetlow <gordon@FreeBSD.org>
CommitDate: 2026-11-14 05:34:19 +0000

    auditdistd, bhyve: drop OPENSSL_API_COMPAT
    
    Neither uses any OpenSSL function deprecated in 3.0 or later. Both build
    with no deprecation warnings against OpenSSL 3.5 and 4.1 without it.
---
 usr.sbin/auditdistd/Makefile | 2 --
 usr.sbin/bhyve/Makefile      | 1 -
 2 files changed, 3 deletions(-)

diff --git a/usr.sbin/auditdistd/Makefile b/usr.sbin/auditdistd/Makefile
index 8b3c7dd7f87c..d73807e18899 100644
--- a/usr.sbin/auditdistd/Makefile
+++ b/usr.sbin/auditdistd/Makefile
@@ -8,8 +8,6 @@ OPENBSMDIR=${SRCTOP}/contrib/openbsm
 # auditdistd.h.  This seems like a makefile non-feature.
 CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd
 
-CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
-
 NO_WFORMAT=
 NO_WMISSING_VARIABLE_DECLARATIONS=
 
diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index 0fb0e1028398..2cca658aff7f 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -120,7 +120,6 @@ LIBADD+=	netgraph
 CFLAGS+=-DNO_OPENSSL
 .else
 LIBADD+=	crypto
-CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
 .endif
 
 CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000