]> git.ipfire.org Git - thirdparty/squid.git/commit - test-suite/buildtests/layer-02-maximus.opts
Redux broken krb5.h handling (#1156)
authorAmos Jeffries <yadij@users.noreply.github.com>
Tue, 27 Sep 2022 21:05:14 +0000 (21:05 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 28 Sep 2022 15:35:58 +0000 (15:35 +0000)
commit4255714854d10981dbaecfb3322b79e4981f0548
treeb1e60eb4b3eadbd66b9bf38fa9acdf9903cc457e
parent0d57ed2e8fd8a9721e7577e4deeb2a486972db9a
Redux broken krb5.h handling (#1156)

De-duplicate the #include sequence into a libcompat header to
ensure all uses of the hack(s) including autoconf test macros
are using the same logic. This fixes some macros which were
using inconsistent logic for Solaris.

Simplify the if-elif use of __cplusplus detection. All the
extern C hacks apply only when C++ is used.

Wrapping the entire file peer_proxy_negotiate_auth.cc with
'extern C {...}' is unnecessary (it is a .cc) and breaks the
Solaris workaround.
acinclude/krb5.m4
compat/Makefile.am
compat/krb5.h [new file with mode: 0644]
src/acl/external/kerberos_ldap_group/support.h
src/auth/negotiate/kerberos/negotiate_kerberos.h
src/peer_proxy_negotiate_auth.cc
test-suite/buildtests/layer-01-minimal.opts
test-suite/buildtests/layer-02-maximus.opts
test-suite/buildtests/layer-04-noauth-everything.opts