1 /*
2  * WARNING: do not edit!
3  * Generated by Makefile from include/openssl/opensslconf.h.in
4  *
5  * Copyright 2016-2020 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
16 extern "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_COMP
28 # define OPENSSL_NO_COMP
29 #endif
30 #ifndef OPENSSL_NO_MD2
31 # define OPENSSL_NO_MD2
32 #endif
33 #ifndef OPENSSL_NO_RC5
34 # define OPENSSL_NO_RC5
35 #endif
36 #ifndef OPENSSL_THREADS
37 # define OPENSSL_THREADS
38 #endif
39 #ifndef OPENSSL_RAND_SEED_OS
40 # define OPENSSL_RAND_SEED_OS
41 #endif
42 #ifndef OPENSSL_NO_AFALGENG
43 # define OPENSSL_NO_AFALGENG
44 #endif
45 #ifndef OPENSSL_NO_ASAN
46 # define OPENSSL_NO_ASAN
47 #endif
48 #ifndef OPENSSL_NO_ASM
49 # define OPENSSL_NO_ASM
50 #endif
51 #ifndef OPENSSL_NO_CRYPTO_MDEBUG
52 # define OPENSSL_NO_CRYPTO_MDEBUG
53 #endif
54 #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
55 # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
56 #endif
57 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
58 # define OPENSSL_NO_EC_NISTP_64_GCC_128
59 #endif
60 #ifndef OPENSSL_NO_EGD
61 # define OPENSSL_NO_EGD
62 #endif
63 #ifndef OPENSSL_NO_EXTERNAL_TESTS
64 # define OPENSSL_NO_EXTERNAL_TESTS
65 #endif
66 #ifndef OPENSSL_NO_FUZZ_AFL
67 # define OPENSSL_NO_FUZZ_AFL
68 #endif
69 #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
70 # define OPENSSL_NO_FUZZ_LIBFUZZER
71 #endif
72 #ifndef OPENSSL_NO_HEARTBEATS
73 # define OPENSSL_NO_HEARTBEATS
74 #endif
75 #ifndef OPENSSL_NO_MSAN
76 # define OPENSSL_NO_MSAN
77 #endif
78 #ifndef OPENSSL_NO_SCTP
79 # define OPENSSL_NO_SCTP
80 #endif
81 #ifndef OPENSSL_NO_SSL_TRACE
82 # define OPENSSL_NO_SSL_TRACE
83 #endif
84 #ifndef OPENSSL_NO_SSL3
85 # define OPENSSL_NO_SSL3
86 #endif
87 #ifndef OPENSSL_NO_SSL3_METHOD
88 # define OPENSSL_NO_SSL3_METHOD
89 #endif
90 #ifndef OPENSSL_NO_UBSAN
91 # define OPENSSL_NO_UBSAN
92 #endif
93 #ifndef OPENSSL_NO_UNIT_TEST
94 # define OPENSSL_NO_UNIT_TEST
95 #endif
96 #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
97 # define OPENSSL_NO_WEAK_SSL_CIPHERS
98 #endif
99 #ifndef OPENSSL_NO_DYNAMIC_ENGINE
100 # define OPENSSL_NO_DYNAMIC_ENGINE
101 #endif
102 
103 
104 /*
105  * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
106  * don't like that.  This will hopefully silence them.
107  */
108 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
109 
110 /*
111  * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
112  * declarations of functions deprecated in or before <version>. Otherwise, they
113  * still won't see them if the library has been built to disable deprecated
114  * functions.
115  */
116 #ifndef DECLARE_DEPRECATED
117 # define DECLARE_DEPRECATED(f)   f;
118 # ifdef __GNUC__
119 #  if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
120 #   undef DECLARE_DEPRECATED
121 #   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
122 #  endif
123 # elif defined(__SUNPRO_C)
124 #  if (__SUNPRO_C >= 0x5130)
125 #   undef DECLARE_DEPRECATED
126 #   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
127 #  endif
128 # endif
129 #endif
130 
131 #ifndef OPENSSL_FILE
132 # ifdef OPENSSL_NO_FILENAMES
133 #  define OPENSSL_FILE ""
134 #  define OPENSSL_LINE 0
135 # else
136 #  define OPENSSL_FILE __FILE__
137 #  define OPENSSL_LINE __LINE__
138 # endif
139 #endif
140 
141 #ifndef OPENSSL_MIN_API
142 # define OPENSSL_MIN_API 0
143 #endif
144 
145 #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
146 # undef OPENSSL_API_COMPAT
147 # define OPENSSL_API_COMPAT OPENSSL_MIN_API
148 #endif
149 
150 /*
151  * Do not deprecate things to be deprecated in version 1.2.0 before the
152  * OpenSSL version number matches.
153  */
154 #if OPENSSL_VERSION_NUMBER < 0x10200000L
155 # define DEPRECATEDIN_1_2_0(f)   f;
156 #elif OPENSSL_API_COMPAT < 0x10200000L
157 # define DEPRECATEDIN_1_2_0(f)   DECLARE_DEPRECATED(f)
158 #else
159 # define DEPRECATEDIN_1_2_0(f)
160 #endif
161 
162 #if OPENSSL_API_COMPAT < 0x10100000L
163 # define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
164 #else
165 # define DEPRECATEDIN_1_1_0(f)
166 #endif
167 
168 #if OPENSSL_API_COMPAT < 0x10000000L
169 # define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
170 #else
171 # define DEPRECATEDIN_1_0_0(f)
172 #endif
173 
174 #if OPENSSL_API_COMPAT < 0x00908000L
175 # define DEPRECATEDIN_0_9_8(f)   DECLARE_DEPRECATED(f)
176 #else
177 # define DEPRECATEDIN_0_9_8(f)
178 #endif
179 
180 /* Generate 80386 code? */
181 #undef I386_ONLY
182 
183 #undef OPENSSL_UNISTD
184 #define OPENSSL_UNISTD <unistd.h>
185 
186 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
187 
188 /*
189  * The following are cipher-specific, but are part of the public API.
190  */
191 #if !defined(OPENSSL_SYS_UEFI)
192 # undef BN_LLONG
193 /* Only one for the following should be defined */
194 # define SIXTY_FOUR_BIT_LONG
195 # undef SIXTY_FOUR_BIT
196 # undef THIRTY_TWO_BIT
197 #endif
198 
199 #define RC4_INT unsigned int
200 
201 #ifdef  __cplusplus
202 }
203 #endif
204