[Midnightbsd-cvs] [MidnightBSD/src] 32ed97: Fix sshd build: include hostfile.h before auth.h
Lucas Holt
noreply at github.com
Fri Jun 26 09:36:31 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 32ed97dbfa1d11c44c8b52c58dc783ea512e6a3a
https://github.com/MidnightBSD/src/commit/32ed97dbfa1d11c44c8b52c58dc783ea512e6a3a
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M crypto/openssh/auth-rhosts.c
M crypto/openssh/loginrec.c
M crypto/openssh/sshd-session.c
Log Message:
-----------
Fix sshd build: include hostfile.h before auth.h
The buildworld fallout cleanup (4b45a7c5b4) alphabetized the local
#include block in sshd-session.c, auth-rhosts.c and loginrec.c, which
moved "auth.h" ahead of "hostfile.h". auth.h declares
check_key_in_hostfiles() returning HostStatus, a type defined in
hostfile.h, so the reordering broke the build with
"error: unknown type name 'HostStatus'".
Restore the upstream OpenSSH include ordering (hostfile.h before
auth.h) in the three affected files.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list