]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
gss-serv.c: `MAXHOSTNAMELEN` -> `HOST_NAME_MAX`
authorDavid Seifert <soap@gentoo.org>
Fri, 12 May 2023 12:06:01 +0000 (14:06 +0200)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 5 Jul 2023 07:54:15 +0000 (17:54 +1000)
commita95fc5eed09a0238fb127b6c50e8498432b79dae
treef27111c628515cc6708e8f9ba2a065c83fcd61ed
parent8a6cd08850f576e7527c52a1b086cae82fab290e
gss-serv.c: `MAXHOSTNAMELEN` -> `HOST_NAME_MAX`

`MAXHOSTNAMELEN` is not defined in POSIX, which breaks on musl:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html

Bug: https://bugs.gentoo.org/834044
gss-serv.c