]>
Commit | Line | Data |
---|---|---|
7bf7a6d0 MTL |
1 | /* |
2 | * WARNING: do not edit! | |
3 | * Generated from include/openssl/opensslconf.h.in | |
4 | * | |
5 | * Copyright 2016 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 | #ifdef __cplusplus | |
14 | extern "C" { | |
15 | #endif | |
16 | ||
17 | #ifdef OPENSSL_ALGORITHM_DEFINES | |
18 | # error OPENSSL_ALGORITHM_DEFINES no longer supported | |
19 | #endif | |
20 | ||
21 | /* | |
22 | * OpenSSL was configured with the following options: | |
23 | */ | |
24 | ||
25 | #ifndef OPENSSL_SYS_UEFI | |
26 | # define OPENSSL_SYS_UEFI 1 | |
27 | #endif | |
28 | #define OPENSSL_MIN_API 0x10100000L | |
29 | #ifndef OPENSSL_NO_BF | |
30 | # define OPENSSL_NO_BF | |
31 | #endif | |
32 | #ifndef OPENSSL_NO_BLAKE2 | |
33 | # define OPENSSL_NO_BLAKE2 | |
34 | #endif | |
35 | #ifndef OPENSSL_NO_CAMELLIA | |
36 | # define OPENSSL_NO_CAMELLIA | |
37 | #endif | |
38 | #ifndef OPENSSL_NO_CAST | |
39 | # define OPENSSL_NO_CAST | |
40 | #endif | |
41 | #ifndef OPENSSL_NO_CHACHA | |
42 | # define OPENSSL_NO_CHACHA | |
43 | #endif | |
44 | #ifndef OPENSSL_NO_CMS | |
45 | # define OPENSSL_NO_CMS | |
46 | #endif | |
47 | #ifndef OPENSSL_NO_CT | |
48 | # define OPENSSL_NO_CT | |
49 | #endif | |
50 | #ifndef OPENSSL_NO_DES | |
51 | # define OPENSSL_NO_DES | |
52 | #endif | |
53 | #ifndef OPENSSL_NO_DSA | |
54 | # define OPENSSL_NO_DSA | |
55 | #endif | |
56 | #ifndef OPENSSL_NO_EC | |
57 | # define OPENSSL_NO_EC | |
58 | #endif | |
59 | #ifndef OPENSSL_NO_IDEA | |
60 | # define OPENSSL_NO_IDEA | |
61 | #endif | |
62 | #ifndef OPENSSL_NO_MD2 | |
63 | # define OPENSSL_NO_MD2 | |
64 | #endif | |
65 | #ifndef OPENSSL_NO_MD4 | |
66 | # define OPENSSL_NO_MD4 | |
67 | #endif | |
68 | #ifndef OPENSSL_NO_MDC2 | |
69 | # define OPENSSL_NO_MDC2 | |
70 | #endif | |
71 | #ifndef OPENSSL_NO_POLY1305 | |
72 | # define OPENSSL_NO_POLY1305 | |
73 | #endif | |
74 | #ifndef OPENSSL_NO_RC2 | |
75 | # define OPENSSL_NO_RC2 | |
76 | #endif | |
77 | #ifndef OPENSSL_NO_RC5 | |
78 | # define OPENSSL_NO_RC5 | |
79 | #endif | |
80 | #ifndef OPENSSL_NO_RMD160 | |
81 | # define OPENSSL_NO_RMD160 | |
82 | #endif | |
83 | #ifndef OPENSSL_NO_SEED | |
84 | # define OPENSSL_NO_SEED | |
85 | #endif | |
86 | #ifndef OPENSSL_NO_SRP | |
87 | # define OPENSSL_NO_SRP | |
88 | #endif | |
89 | #ifndef OPENSSL_NO_TS | |
90 | # define OPENSSL_NO_TS | |
91 | #endif | |
92 | #ifndef OPENSSL_NO_UI | |
93 | # define OPENSSL_NO_UI | |
94 | #endif | |
95 | #ifndef OPENSSL_NO_WHIRLPOOL | |
96 | # define OPENSSL_NO_WHIRLPOOL | |
97 | #endif | |
98 | #ifndef OPENSSL_NO_AFALGENG | |
99 | # define OPENSSL_NO_AFALGENG | |
100 | #endif | |
101 | #ifndef OPENSSL_NO_APPS | |
102 | # define OPENSSL_NO_APPS | |
103 | #endif | |
104 | #ifndef OPENSSL_NO_ASAN | |
105 | # define OPENSSL_NO_ASAN | |
106 | #endif | |
107 | #ifndef OPENSSL_NO_ASM | |
108 | # define OPENSSL_NO_ASM | |
109 | #endif | |
110 | #ifndef OPENSSL_NO_ASYNC | |
111 | # define OPENSSL_NO_ASYNC | |
112 | #endif | |
113 | #ifndef OPENSSL_NO_AUTOALGINIT | |
114 | # define OPENSSL_NO_AUTOALGINIT | |
115 | #endif | |
116 | #ifndef OPENSSL_NO_AUTOERRINIT | |
117 | # define OPENSSL_NO_AUTOERRINIT | |
118 | #endif | |
119 | #ifndef OPENSSL_NO_CAPIENG | |
120 | # define OPENSSL_NO_CAPIENG | |
121 | #endif | |
122 | #ifndef OPENSSL_NO_CRYPTO_MDEBUG | |
123 | # define OPENSSL_NO_CRYPTO_MDEBUG | |
124 | #endif | |
125 | #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE | |
126 | # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE | |
127 | #endif | |
128 | #ifndef OPENSSL_NO_DEPRECATED | |
129 | # define OPENSSL_NO_DEPRECATED | |
130 | #endif | |
131 | #ifndef OPENSSL_NO_DGRAM | |
132 | # define OPENSSL_NO_DGRAM | |
133 | #endif | |
134 | #ifndef OPENSSL_NO_DTLS | |
135 | # define OPENSSL_NO_DTLS | |
136 | #endif | |
137 | #ifndef OPENSSL_NO_DTLS1 | |
138 | # define OPENSSL_NO_DTLS1 | |
139 | #endif | |
140 | #ifndef OPENSSL_NO_DTLS1_2 | |
141 | # define OPENSSL_NO_DTLS1_2 | |
142 | #endif | |
143 | #ifndef OPENSSL_NO_EC2M | |
144 | # define OPENSSL_NO_EC2M | |
145 | #endif | |
146 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | |
147 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | |
148 | #endif | |
149 | #ifndef OPENSSL_NO_ECDH | |
150 | # define OPENSSL_NO_ECDH | |
151 | #endif | |
152 | #ifndef OPENSSL_NO_ECDSA | |
153 | # define OPENSSL_NO_ECDSA | |
154 | #endif | |
155 | #ifndef OPENSSL_NO_EGD | |
156 | # define OPENSSL_NO_EGD | |
157 | #endif | |
158 | #ifndef OPENSSL_NO_ENGINE | |
159 | # define OPENSSL_NO_ENGINE | |
160 | #endif | |
161 | #ifndef OPENSSL_NO_ERR | |
162 | # define OPENSSL_NO_ERR | |
163 | #endif | |
164 | #ifndef OPENSSL_NO_FILENAMES | |
165 | # define OPENSSL_NO_FILENAMES | |
166 | #endif | |
167 | #ifndef OPENSSL_NO_FUZZ_AFL | |
168 | # define OPENSSL_NO_FUZZ_AFL | |
169 | #endif | |
170 | #ifndef OPENSSL_NO_FUZZ_LIBFUZZER | |
171 | # define OPENSSL_NO_FUZZ_LIBFUZZER | |
172 | #endif | |
173 | #ifndef OPENSSL_NO_GOST | |
174 | # define OPENSSL_NO_GOST | |
175 | #endif | |
176 | #ifndef OPENSSL_NO_HEARTBEATS | |
177 | # define OPENSSL_NO_HEARTBEATS | |
178 | #endif | |
179 | #ifndef OPENSSL_NO_HW | |
180 | # define OPENSSL_NO_HW | |
181 | #endif | |
182 | #ifndef OPENSSL_NO_MSAN | |
183 | # define OPENSSL_NO_MSAN | |
184 | #endif | |
185 | #ifndef OPENSSL_NO_OCB | |
186 | # define OPENSSL_NO_OCB | |
187 | #endif | |
188 | #ifndef OPENSSL_NO_POSIX_IO | |
189 | # define OPENSSL_NO_POSIX_IO | |
190 | #endif | |
191 | #ifndef OPENSSL_NO_RFC3779 | |
192 | # define OPENSSL_NO_RFC3779 | |
193 | #endif | |
194 | #ifndef OPENSSL_NO_SCRYPT | |
195 | # define OPENSSL_NO_SCRYPT | |
196 | #endif | |
197 | #ifndef OPENSSL_NO_SCTP | |
198 | # define OPENSSL_NO_SCTP | |
199 | #endif | |
200 | #ifndef OPENSSL_NO_SOCK | |
201 | # define OPENSSL_NO_SOCK | |
202 | #endif | |
203 | #ifndef OPENSSL_NO_SSL_TRACE | |
204 | # define OPENSSL_NO_SSL_TRACE | |
205 | #endif | |
206 | #ifndef OPENSSL_NO_SSL3 | |
207 | # define OPENSSL_NO_SSL3 | |
208 | #endif | |
209 | #ifndef OPENSSL_NO_SSL3_METHOD | |
210 | # define OPENSSL_NO_SSL3_METHOD | |
211 | #endif | |
212 | #ifndef OPENSSL_NO_STDIO | |
213 | # define OPENSSL_NO_STDIO | |
214 | #endif | |
215 | #ifndef OPENSSL_NO_TESTS | |
216 | # define OPENSSL_NO_TESTS | |
217 | #endif | |
218 | #ifndef OPENSSL_NO_UBSAN | |
219 | # define OPENSSL_NO_UBSAN | |
220 | #endif | |
221 | #ifndef OPENSSL_NO_UNIT_TEST | |
222 | # define OPENSSL_NO_UNIT_TEST | |
223 | #endif | |
224 | #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS | |
225 | # define OPENSSL_NO_WEAK_SSL_CIPHERS | |
226 | #endif | |
227 | #ifndef OPENSSL_NO_AFALGENG | |
228 | # define OPENSSL_NO_AFALGENG | |
229 | #endif | |
230 | ||
231 | ||
232 | /* | |
233 | * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers | |
234 | * don't like that. This will hopefully silence them. | |
235 | */ | |
236 | #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; | |
237 | ||
238 | /* | |
239 | * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the | |
240 | * declarations of functions deprecated in or before <version>. Otherwise, they | |
241 | * still won't see them if the library has been built to disable deprecated | |
242 | * functions. | |
243 | */ | |
244 | #if defined(OPENSSL_NO_DEPRECATED) | |
245 | # define DECLARE_DEPRECATED(f) | |
246 | #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) | |
247 | # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); | |
248 | #else | |
249 | # define DECLARE_DEPRECATED(f) f; | |
250 | #endif | |
251 | ||
252 | #ifndef OPENSSL_FILE | |
253 | # ifdef OPENSSL_NO_FILENAMES | |
254 | # define OPENSSL_FILE "" | |
255 | # define OPENSSL_LINE 0 | |
256 | # else | |
257 | # define OPENSSL_FILE __FILE__ | |
258 | # define OPENSSL_LINE __LINE__ | |
259 | # endif | |
260 | #endif | |
261 | ||
262 | #ifndef OPENSSL_MIN_API | |
263 | # define OPENSSL_MIN_API 0 | |
264 | #endif | |
265 | ||
266 | #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API | |
267 | # undef OPENSSL_API_COMPAT | |
268 | # define OPENSSL_API_COMPAT OPENSSL_MIN_API | |
269 | #endif | |
270 | ||
271 | #if OPENSSL_API_COMPAT < 0x10100000L | |
272 | # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) | |
273 | #else | |
274 | # define DEPRECATEDIN_1_1_0(f) | |
275 | #endif | |
276 | ||
277 | #if OPENSSL_API_COMPAT < 0x10000000L | |
278 | # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f) | |
279 | #else | |
280 | # define DEPRECATEDIN_1_0_0(f) | |
281 | #endif | |
282 | ||
283 | #if OPENSSL_API_COMPAT < 0x00908000L | |
284 | # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) | |
285 | #else | |
286 | # define DEPRECATEDIN_0_9_8(f) | |
287 | #endif | |
288 | ||
289 | ||
290 | ||
291 | /* Generate 80386 code? */ | |
292 | #undef I386_ONLY | |
293 | ||
294 | #undef OPENSSL_UNISTD | |
295 | #define OPENSSL_UNISTD <unistd.h> | |
296 | ||
297 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | |
298 | ||
299 | /* | |
300 | * The following are cipher-specific, but are part of the public API. | |
301 | */ | |
302 | #if !defined(OPENSSL_SYS_UEFI) | |
303 | # undef BN_LLONG | |
304 | /* Only one for the following should be defined */ | |
305 | # undef SIXTY_FOUR_BIT_LONG | |
306 | # undef SIXTY_FOUR_BIT | |
307 | # define THIRTY_TWO_BIT | |
308 | #endif | |
309 | ||
310 | #define RC4_INT unsigned int | |
311 | ||
312 | #ifdef __cplusplus | |
313 | } | |
314 | #endif |