VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1k/include/openssl/opensslconf.h@ 91138

最後變更 在這個檔案從91138是 91138,由 vboxsync 提交於 3 年 前

libs/openssl: Disable SM2 and SM4 like Oracle Linux does.

檔案大小: 6.8 KB
 
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_SM2
70# define OPENSSL_NO_SM2 /* Following Oracle Linux' lead and disable this. */
71#endif
72#ifndef OPENSSL_NO_SM4
73# define OPENSSL_NO_SM4 /* Following Oracle Linux' lead and disable this. */
74#endif
75#ifndef OPENSSL_NO_WHIRLPOOL
76# define OPENSSL_NO_WHIRLPOOL
77#endif
78#ifndef OPENSSL_THREADS
79# define OPENSSL_THREADS
80#endif
81#ifndef OPENSSL_RAND_SEED_OS
82# define OPENSSL_RAND_SEED_OS
83#endif
84#ifndef OPENSSL_NO_AFALGENG
85# define OPENSSL_NO_AFALGENG
86#endif
87#ifndef OPENSSL_NO_ASAN
88# define OPENSSL_NO_ASAN
89#endif
90#ifndef OPENSSL_NO_CRYPTO_MDEBUG
91# define OPENSSL_NO_CRYPTO_MDEBUG
92#endif
93#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
94# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
95#endif
96#ifndef OPENSSL_NO_DEVCRYPTOENG
97# define OPENSSL_NO_DEVCRYPTOENG
98#endif
99#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
100# define OPENSSL_NO_EC_NISTP_64_GCC_128
101#endif
102#ifndef OPENSSL_NO_ECDH
103# define OPENSSL_NO_ECDH
104#endif
105#ifndef OPENSSL_NO_ECDSA
106# define OPENSSL_NO_ECDSA
107#endif
108#ifndef OPENSSL_NO_EGD
109# define OPENSSL_NO_EGD
110#endif
111#ifndef OPENSSL_NO_ENGINE
112# define OPENSSL_NO_ENGINE
113#endif
114#ifndef OPENSSL_NO_ERR
115# define OPENSSL_NO_ERR
116#endif
117#ifndef OPENSSL_NO_EXTERNAL_TESTS
118# define OPENSSL_NO_EXTERNAL_TESTS
119#endif
120#ifndef OPENSSL_NO_FUZZ_AFL
121# define OPENSSL_NO_FUZZ_AFL
122#endif
123#ifndef OPENSSL_NO_FUZZ_LIBFUZZER
124# define OPENSSL_NO_FUZZ_LIBFUZZER
125#endif
126#ifndef OPENSSL_NO_HEARTBEATS
127# define OPENSSL_NO_HEARTBEATS
128#endif
129#ifndef OPENSSL_NO_MSAN
130# define OPENSSL_NO_MSAN
131#endif
132#ifndef OPENSSL_NO_SCTP
133# define OPENSSL_NO_SCTP
134#endif
135#ifndef OPENSSL_NO_SSL_TRACE
136# define OPENSSL_NO_SSL_TRACE
137#endif
138#ifndef OPENSSL_NO_SSL3
139# define OPENSSL_NO_SSL3
140#endif
141#ifndef OPENSSL_NO_SSL3_METHOD
142# define OPENSSL_NO_SSL3_METHOD
143#endif
144#ifndef OPENSSL_NO_UBSAN
145# define OPENSSL_NO_UBSAN
146#endif
147#ifndef OPENSSL_NO_UNIT_TEST
148# define OPENSSL_NO_UNIT_TEST
149#endif
150#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
151# define OPENSSL_NO_WEAK_SSL_CIPHERS
152#endif
153#ifndef OPENSSL_NO_DYNAMIC_ENGINE
154# define OPENSSL_NO_DYNAMIC_ENGINE
155#endif
156#ifndef OPENSSL_NO_AFALGENG
157# define OPENSSL_NO_AFALGENG
158#endif
159
160
161/*
162 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
163 * don't like that. This will hopefully silence them.
164 */
165#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
166
167/*
168 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
169 * declarations of functions deprecated in or before <version>. Otherwise, they
170 * still won't see them if the library has been built to disable deprecated
171 * functions.
172 */
173#ifndef DECLARE_DEPRECATED
174# if defined(_MSC_VER) /* vbox */
175# ifdef __cplusplus /* vbox */
176# define DECLARE_DEPRECATED(f) __declspec(deprecated) f; /* vbox */
177# else /* vbox */
178# define DECLARE_DEPRECATED(f) f; /* vbox */
179# endif /* vbox */
180# else
181# define DECLARE_DEPRECATED(f) f;
182# ifdef __GNUC__
183# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
184# undef DECLARE_DEPRECATED
185# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
186# endif
187# endif
188# endif
189#endif
190
191#ifndef OPENSSL_FILE
192# ifdef OPENSSL_NO_FILENAMES
193# define OPENSSL_FILE ""
194# define OPENSSL_LINE 0
195# else
196# define OPENSSL_FILE __FILE__
197# define OPENSSL_LINE __LINE__
198# endif
199#endif
200
201#ifndef OPENSSL_MIN_API
202# define OPENSSL_MIN_API 0
203#endif
204
205#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
206# undef OPENSSL_API_COMPAT
207# define OPENSSL_API_COMPAT OPENSSL_MIN_API
208#endif
209
210/*
211 * Do not deprecate things to be deprecated in version 1.2.0 before the
212 * OpenSSL version number matches.
213 */
214#if OPENSSL_VERSION_NUMBER < 0x10200000L
215# define DEPRECATEDIN_1_2_0(f) f;
216#elif OPENSSL_API_COMPAT < 0x10200000L
217# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
218#else
219# define DEPRECATEDIN_1_2_0(f)
220#endif
221
222#if OPENSSL_API_COMPAT < 0x10100000L
223# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
224#else
225# define DEPRECATEDIN_1_1_0(f)
226#endif
227
228#if OPENSSL_API_COMPAT < 0x10000000L
229# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
230#else
231# define DEPRECATEDIN_1_0_0(f)
232#endif
233
234#if OPENSSL_API_COMPAT < 0x00908000L
235# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
236#else
237# define DEPRECATEDIN_0_9_8(f)
238#endif
239
240/* Generate 80386 code? */
241#undef I386_ONLY
242
243#undef OPENSSL_UNISTD
244#define OPENSSL_UNISTD <unistd.h>
245
246#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
247
248/*
249 * The following are cipher-specific, but are part of the public API.
250 */
251#if !defined(OPENSSL_SYS_UEFI)
252# undef BN_LLONG
253/* Only one for the following should be defined */
254# include <iprt/cdefs.h>
255# if defined(RT_ARCH_AMD64) || defined(RT_ARCH_SPARC64) || defined(RT_ARCH_ARM64)
256# ifdef _MSC_VER
257# undef SIXTY_FOUR_BIT_LONG
258# define SIXTY_FOUR_BIT
259# undef THIRTY_TWO_BIT
260# else
261# define SIXTY_FOUR_BIT_LONG
262# undef SIXTY_FOUR_BIT
263# undef THIRTY_TWO_BIT
264# endif
265# elif defined(RT_ARCH_X86) || defined(RT_ARCH_SPARC) || defined(RT_ARCH_ARM32)
266# undef SIXTY_FOUR_BIT_LONG
267# undef SIXTY_FOUR_BIT
268# define THIRTY_TWO_BIT
269# else
270# error "Unknown/missing RT_ARCH_*." /* vbox: 64-bit (cannot safely use ARCH_BITS without including iprt/cdefs.h) */
271# endif
272#endif
273
274#define RC4_INT unsigned int
275
276#ifdef __cplusplus
277}
278#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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