VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1f/include/openssl/opensslconf.h@ 83531

Last change on this file since 83531 was 83531, checked in by vboxsync, 5 years ago

setting svn:sync-process=export for openssl-1.1.1f, all files except tests

File size: 6.5 KB
Line 
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/* Mangle OpenSSL symbols to prevent clashes with other OpenSSL libraries
20 * * (especially shared objects or dylibs). */
21#if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2)
22# include "openssl-mangling.h"
23#endif
24#ifndef OPENSSL_MANGLER
25# define OPENSSL_MANGLER(name) name
26#endif
27
28#ifdef OPENSSL_ALGORITHM_DEFINES
29# error OPENSSL_ALGORITHM_DEFINES no longer supported
30#endif
31
32/*
33 * OpenSSL was configured with the following options:
34 */
35
36#ifndef OPENSSL_NO_CAMELLIA
37# define OPENSSL_NO_CAMELLIA
38#endif
39#ifndef OPENSSL_NO_CAST
40# define OPENSSL_NO_CAST
41#endif
42#ifndef OPENSSL_NO_COMP
43# define OPENSSL_NO_COMP
44#endif
45#ifndef OPENSSL_NO_DES
46# define OPENSSL_NO_DES
47#endif
48#ifndef OPENSSL_NO_IDEA
49# define OPENSSL_NO_IDEA
50#endif
51#ifndef OPENSSL_NO_MD4
52# define OPENSSL_NO_MD4
53#endif
54#ifndef OPENSSL_NO_MDC2
55# define OPENSSL_NO_MDC2
56#endif
57#ifndef OPENSSL_NO_POLY1305
58# define OPENSSL_NO_POLY1305
59#endif
60#ifndef OPENSSL_NO_RC2
61# define OPENSSL_NO_RC2
62#endif
63#ifndef OPENSSL_NO_RC5
64# define OPENSSL_NO_RC5
65#endif
66#ifndef OPENSSL_NO_RMD160
67# define OPENSSL_NO_RMD160
68#endif
69#ifndef OPENSSL_NO_WHIRLPOOL
70# define OPENSSL_NO_WHIRLPOOL
71#endif
72#ifndef OPENSSL_THREADS
73# define OPENSSL_THREADS
74#endif
75#ifndef OPENSSL_RAND_SEED_OS
76# define OPENSSL_RAND_SEED_OS
77#endif
78#ifndef OPENSSL_NO_AFALGENG
79# define OPENSSL_NO_AFALGENG
80#endif
81#ifndef OPENSSL_NO_ASAN
82# define OPENSSL_NO_ASAN
83#endif
84#ifndef OPENSSL_NO_CRYPTO_MDEBUG
85# define OPENSSL_NO_CRYPTO_MDEBUG
86#endif
87#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
88# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
89#endif
90#ifndef OPENSSL_NO_DEVCRYPTOENG
91# define OPENSSL_NO_DEVCRYPTOENG
92#endif
93#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
94# define OPENSSL_NO_EC_NISTP_64_GCC_128
95#endif
96#ifndef OPENSSL_NO_ECDH
97# define OPENSSL_NO_ECDH
98#endif
99#ifndef OPENSSL_NO_ECDSA
100# define OPENSSL_NO_ECDSA
101#endif
102#ifndef OPENSSL_NO_EGD
103# define OPENSSL_NO_EGD
104#endif
105#ifndef OPENSSL_NO_ENGINE
106# define OPENSSL_NO_ENGINE
107#endif
108#ifndef OPENSSL_NO_ERR
109# define OPENSSL_NO_ERR
110#endif
111#ifndef OPENSSL_NO_EXTERNAL_TESTS
112# define OPENSSL_NO_EXTERNAL_TESTS
113#endif
114#ifndef OPENSSL_NO_FUZZ_AFL
115# define OPENSSL_NO_FUZZ_AFL
116#endif
117#ifndef OPENSSL_NO_FUZZ_LIBFUZZER
118# define OPENSSL_NO_FUZZ_LIBFUZZER
119#endif
120#ifndef OPENSSL_NO_HEARTBEATS
121# define OPENSSL_NO_HEARTBEATS
122#endif
123#ifndef OPENSSL_NO_MSAN
124# define OPENSSL_NO_MSAN
125#endif
126#ifndef OPENSSL_NO_SCTP
127# define OPENSSL_NO_SCTP
128#endif
129#ifndef OPENSSL_NO_SSL_TRACE
130# define OPENSSL_NO_SSL_TRACE
131#endif
132#ifndef OPENSSL_NO_SSL3
133# define OPENSSL_NO_SSL3
134#endif
135#ifndef OPENSSL_NO_SSL3_METHOD
136# define OPENSSL_NO_SSL3_METHOD
137#endif
138#ifndef OPENSSL_NO_UBSAN
139# define OPENSSL_NO_UBSAN
140#endif
141#ifndef OPENSSL_NO_UNIT_TEST
142# define OPENSSL_NO_UNIT_TEST
143#endif
144#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
145# define OPENSSL_NO_WEAK_SSL_CIPHERS
146#endif
147#ifndef OPENSSL_NO_DYNAMIC_ENGINE
148# define OPENSSL_NO_DYNAMIC_ENGINE
149#endif
150#ifndef OPENSSL_NO_AFALGENG
151# define OPENSSL_NO_AFALGENG
152#endif
153
154
155/*
156 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
157 * don't like that. This will hopefully silence them.
158 */
159#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
160
161/*
162 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
163 * declarations of functions deprecated in or before <version>. Otherwise, they
164 * still won't see them if the library has been built to disable deprecated
165 * functions.
166 */
167#ifndef DECLARE_DEPRECATED
168# if defined(_MSC_VER) /* vbox */
169# ifdef __cplusplus /* vbox */
170# define DECLARE_DEPRECATED(f) __declspec(deprecated) f; /* vbox */
171# else /* vbox */
172# define DECLARE_DEPRECATED(f) f; /* vbox */
173# endif /* vbox */
174# else
175# define DECLARE_DEPRECATED(f) f;
176# ifdef __GNUC__
177# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
178# undef DECLARE_DEPRECATED
179# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
180# endif
181# endif
182# endif
183#endif
184
185#ifndef OPENSSL_FILE
186# ifdef OPENSSL_NO_FILENAMES
187# define OPENSSL_FILE ""
188# define OPENSSL_LINE 0
189# else
190# define OPENSSL_FILE __FILE__
191# define OPENSSL_LINE __LINE__
192# endif
193#endif
194
195#ifndef OPENSSL_MIN_API
196# define OPENSSL_MIN_API 0
197#endif
198
199#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
200# undef OPENSSL_API_COMPAT
201# define OPENSSL_API_COMPAT OPENSSL_MIN_API
202#endif
203
204/*
205 * Do not deprecate things to be deprecated in version 1.2.0 before the
206 * OpenSSL version number matches.
207 */
208#if OPENSSL_VERSION_NUMBER < 0x10200000L
209# define DEPRECATEDIN_1_2_0(f) f;
210#elif OPENSSL_API_COMPAT < 0x10200000L
211# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
212#else
213# define DEPRECATEDIN_1_2_0(f)
214#endif
215
216#if OPENSSL_API_COMPAT < 0x10100000L
217# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
218#else
219# define DEPRECATEDIN_1_1_0(f)
220#endif
221
222#if OPENSSL_API_COMPAT < 0x10000000L
223# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
224#else
225# define DEPRECATEDIN_1_0_0(f)
226#endif
227
228#if OPENSSL_API_COMPAT < 0x00908000L
229# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
230#else
231# define DEPRECATEDIN_0_9_8(f)
232#endif
233
234/* Generate 80386 code? */
235#undef I386_ONLY
236
237#undef OPENSSL_UNISTD
238#define OPENSSL_UNISTD <unistd.h>
239
240#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
241
242/*
243 * The following are cipher-specific, but are part of the public API.
244 */
245#if !defined(OPENSSL_SYS_UEFI)
246# undef BN_LLONG
247/* Only one for the following should be defined */
248# if defined(RT_ARCH_AMD64) || defined(RT_ARCH_SPARC64)
249# ifdef _MSC_VER
250# undef SIXTY_FOUR_BIT_LONG
251# define SIXTY_FOUR_BIT
252# undef THIRTY_TWO_BIT
253# else
254# define SIXTY_FOUR_BIT_LONG
255# undef SIXTY_FOUR_BIT
256# undef THIRTY_TWO_BIT
257# endif
258# elif defined(RT_ARCH_X86) || defined(RT_ARCH_SPARC)
259# undef SIXTY_FOUR_BIT_LONG
260# undef SIXTY_FOUR_BIT
261# define THIRTY_TWO_BIT
262# else
263# error "Unknown/missing RT_ARCH_*." /* vbox: 64-bit (cannot safely use ARCH_BITS without including iprt/cdefs.h) */
264# endif
265#endif
266
267#define RC4_INT unsigned int
268
269#ifdef __cplusplus
270}
271#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette