The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
openssl_user_macros.h
Go to the documentation of this file.
1#pragma once
2/*
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16 */
17#ifdef WITH_TLS
18/**
19 * $Id: ca078c5e731f41126ba444af94ae4b3c1f4fce3c $
20 *
21 * https://www.openssl.org/docs/manmaster/man7/OPENSSL_NO_DEPRECATED.html
22 *
23 * @file lib/tls/openssl_user_macros.h
24 * @brief Definitions which control which OpenSSL API functions are exposed
25 *
26 * @copyright 2021 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
27 */
28RCSIDH(openssl_user_macros_h, "$Id: ca078c5e731f41126ba444af94ae4b3c1f4fce3c $")
29
30/*
31 * This changed in OpenSSL 1.1.0 (they allow deprecated interfaces)
32 * But because we're always ahead of the curve we don't need them.
33 */
34#ifndef OPENSSL_NO_DEPRECATED
35# define OPENSSL_NO_DEPRECATED
36#endif
37
38/*
39 * For RH 9, which apparently needs this.
40 */
41#ifndef OPENSSL_NO_KRB5
42# define OPENSSL_NO_KRB5
43#endif
44#endif
#define RCSIDH(h, id)
Definition build.h:484