1/*
2 * WARNING: do not edit!
3 * Generated by Makefile from ../include/openssl/opensslconf.h.in
4 *
5 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
6 *
7 * Licensed under the OpenSSL license (the "License"). You may not use
8 * this file except in compliance with the License. You can obtain a copy
9 * in the file LICENSE in the source distribution or at
10 * https://www.openssl.org/source/license.html
11 */
12
13#include <openssl/opensslv.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#ifdef OPENSSL_ALGORITHM_DEFINES
20# error OPENSSL_ALGORITHM_DEFINES no longer supported
21#endif
22
23/*
24 * OpenSSL was configured with the following options:
25 */
26
27#ifndef OPENSSL_NO_IDEA
28# define OPENSSL_NO_IDEA
29#endif
30#ifndef OPENSSL_NO_MD2
31# define OPENSSL_NO_MD2
32#endif
33#ifndef OPENSSL_NO_MDC2
34# define OPENSSL_NO_MDC2
35#endif
36#ifndef OPENSSL_NO_RC5
37# define OPENSSL_NO_RC5
38#endif
39#ifndef OPENSSL_THREADS
40# define OPENSSL_THREADS
41#endif
42#ifndef OPENSSL_RAND_SEED_OS
43# define OPENSSL_RAND_SEED_OS
44#endif
45#ifndef OPENSSL_NO_ASAN
46# define OPENSSL_NO_ASAN
47#endif
48#ifndef OPENSSL_NO_CRYPTO_MDEBUG
49# define OPENSSL_NO_CRYPTO_MDEBUG
50#endif
51#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
52# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
53#endif
54#ifndef OPENSSL_NO_DEVCRYPTOENG
55# define OPENSSL_NO_DEVCRYPTOENG
56#endif
57#ifndef OPENSSL_NO_EGD
58# define OPENSSL_NO_EGD
59#endif
60#ifndef OPENSSL_NO_EXTERNAL_TESTS
61# define OPENSSL_NO_EXTERNAL_TESTS
62#endif
63#ifndef OPENSSL_NO_FUZZ_AFL
64# define OPENSSL_NO_FUZZ_AFL
65#endif
66#ifndef OPENSSL_NO_FUZZ_LIBFUZZER
67# define OPENSSL_NO_FUZZ_LIBFUZZER
68#endif
69#ifndef OPENSSL_NO_HEARTBEATS
70# define OPENSSL_NO_HEARTBEATS
71#endif
72#ifndef OPENSSL_NO_MSAN
73# define OPENSSL_NO_MSAN
74#endif
75#ifndef OPENSSL_NO_SCTP
76# define OPENSSL_NO_SCTP
77#endif
78#ifndef OPENSSL_NO_SSL_TRACE
79# define OPENSSL_NO_SSL_TRACE
80#endif
81#ifndef OPENSSL_NO_SSL3
82# define OPENSSL_NO_SSL3
83#endif
84#ifndef OPENSSL_NO_SSL3_METHOD
85# define OPENSSL_NO_SSL3_METHOD
86#endif
87#ifndef OPENSSL_NO_UBSAN
88# define OPENSSL_NO_UBSAN
89#endif
90#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
91# define OPENSSL_NO_WEAK_SSL_CIPHERS
92#endif
93#ifndef OPENSSL_NO_STATIC_ENGINE
94# define OPENSSL_NO_STATIC_ENGINE
95#endif
96
97
98/*
99 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
100 * don't like that. This will hopefully silence them.
101 */
102#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
103
104/*
105 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
106 * declarations of functions deprecated in or before <version>. Otherwise, they
107 * still won't see them if the library has been built to disable deprecated
108 * functions.
109 */
110#ifndef DECLARE_DEPRECATED
111# define DECLARE_DEPRECATED(f) f;
112# ifdef __GNUC__
113# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
114# undef DECLARE_DEPRECATED
115# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
116# endif
117# endif
118#endif
119
120#ifndef OPENSSL_FILE
121# ifdef OPENSSL_NO_FILENAMES
122# define OPENSSL_FILE ""
123# define OPENSSL_LINE 0
124# else
125# define OPENSSL_FILE __FILE__
126# define OPENSSL_LINE __LINE__
127# endif
128#endif
129
130#ifndef OPENSSL_MIN_API
131# define OPENSSL_MIN_API 0
132#endif
133
134#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
135# undef OPENSSL_API_COMPAT
136# define OPENSSL_API_COMPAT OPENSSL_MIN_API
137#endif
138
139/*
140 * Do not deprecate things to be deprecated in version 1.2.0 before the
141 * OpenSSL version number matches.
142 */
143#if OPENSSL_VERSION_NUMBER < 0x10200000L
144# define DEPRECATEDIN_1_2_0(f) f;
145#elif OPENSSL_API_COMPAT < 0x10200000L
146# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
147#else
148# define DEPRECATEDIN_1_2_0(f)
149#endif
150
151#if OPENSSL_API_COMPAT < 0x10100000L
152# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
153#else
154# define DEPRECATEDIN_1_1_0(f)
155#endif
156
157#if OPENSSL_API_COMPAT < 0x10000000L
158# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
159#else
160# define DEPRECATEDIN_1_0_0(f)
161#endif
162
163#if OPENSSL_API_COMPAT < 0x00908000L
164# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
165#else
166# define DEPRECATEDIN_0_9_8(f)
167#endif
168
169/* Generate 80386 code? */
170#undef I386_ONLY
171
172#undef OPENSSL_UNISTD
173#define OPENSSL_UNISTD <unistd.h>
174
175#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
176
177/*
178 * The following are cipher-specific, but are part of the public API.
179 */
180#if !defined(OPENSSL_SYS_UEFI)
181# undef BN_LLONG
182/* Only one for the following should be defined */
183# define SIXTY_FOUR_BIT_LONG
184# undef SIXTY_FOUR_BIT
185# undef THIRTY_TWO_BIT
186#endif
187
188#define RC4_INT unsigned int
189
190#ifdef __cplusplus
191}
192#endif
193