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

From: Gordon Tetlow <gordon_at_freebsd.org>
Date: Sun, 15 Nov 2026 01:00:27 UTC
> On Nov 14, 2026, at 06:39, Dag-Erling Smørgrav <des@freebsd.org> wrote:
> 
> Gordon Tetlow <gordon@FreeBSD.org> writes:
>> 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/src/usr.sbin/bhyve/rfb.c:1164:3: error: 'DES_set_key' is deprecated [-Werror,-Wdeprecated-declarations]
> /usr/src/usr.sbin/bhyve/rfb.c:1165:3: error: 'DES_ecb_encrypt' is deprecated [-Werror,-Wdeprecated-declarations]
> /usr/src/usr.sbin/bhyve/rfb.c:1168:3: error: 'DES_ecb_encrypt' is deprecated [-Werror,-Wdeprecated-declarations]

Apologies, my local setup did not have this compilation error. Thanks to markj for backing that out. I need to figure out why my local setup didn’t have this issue.

Gordon