Squid Web Cache master
Loading...
Searching...
No Matches
krb5.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2026 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_COMPAT_KRB5_H
10#define SQUID_COMPAT_KRB5_H
11
12/*
13 * The Kerberos library has various major bugs.
14 *
15 * - MacOS marks as deprecated the POSIX compatible APIs.
16 * Apparently to encourage code to use their internal APIs.
17 *
18 * This file exists to fix those issues the best we can and to
19 * ensure the logic is identical in Squid code, Squid helpers,
20 * and autoconf tests. See acinclude/krb5.h for the latter.
21 */
22
23#if HAVE_KRB5_H
24# if USE_APPLE_KRB5
25# define KERBEROS_APPLE_DEPRECATED(x)
26# endif
27#include <krb5.h>
28#endif /* HAVE_KRB5_H */
29
30#endif /* SQUID_COMPAT_KRB5_H */