1/*
2 * WARNING: do not edit!
3 * Generated by configdata.pm from Configurations/common0.tmpl, Configurations/unix-Makefile.tmpl
4 * via Makefile.in
5 *
6 * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
7 *
8 * Licensed under the Apache License 2.0 (the "License"). You may not use
9 * this file except in compliance with the License. You can obtain a copy
10 * in the file LICENSE in the source distribution or at
11 * https://www.openssl.org/source/license.html
12 */
13
14#ifndef OPENSSL_CONFIGURATION_H
15#define OPENSSL_CONFIGURATION_H
16#pragma once
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#ifdef OPENSSL_ALGORITHM_DEFINES
23#error OPENSSL_ALGORITHM_DEFINES no longer supported
24#endif
25
26/*
27 * OpenSSL was configured with the following options:
28 */
29
30/* clang-format off */
31# define OPENSSL_CONFIGURED_API 40100
32# ifndef OPENSSL_RAND_SEED_OS
33# define OPENSSL_RAND_SEED_OS
34# endif
35# ifndef OPENSSL_THREADS
36# define OPENSSL_THREADS
37# endif
38# ifndef OPENSSL_NO_ACVP_TESTS
39# define OPENSSL_NO_ACVP_TESTS
40# endif
41# ifndef OPENSSL_NO_ALLOCFAIL_TESTS
42# define OPENSSL_NO_ALLOCFAIL_TESTS
43# endif
44# ifndef OPENSSL_NO_ASAN
45# define OPENSSL_NO_ASAN
46# endif
47# ifndef OPENSSL_NO_ATEXIT
48# define OPENSSL_NO_ATEXIT
49# endif
50# ifndef OPENSSL_NO_BROTLI_DYNAMIC
51# define OPENSSL_NO_BROTLI_DYNAMIC
52# endif
53# ifndef OPENSSL_NO_CRYPTO_MDEBUG
54# define OPENSSL_NO_CRYPTO_MDEBUG
55# endif
56# ifndef OPENSSL_NO_CT_VALIDATION
57# define OPENSSL_NO_CT_VALIDATION
58# endif
59# ifndef OPENSSL_NO_DEMOS
60# define OPENSSL_NO_DEMOS
61# endif
62# ifndef OPENSSL_NO_DYNAMIC_ENGINE
63# define OPENSSL_NO_DYNAMIC_ENGINE
64# endif
65# ifndef OPENSSL_NO_EC_EXPLICIT_CURVES
66# define OPENSSL_NO_EC_EXPLICIT_CURVES
67# endif
68# ifndef OPENSSL_NO_EGD
69# define OPENSSL_NO_EGD
70# endif
71# ifndef OPENSSL_NO_ENGINE
72# define OPENSSL_NO_ENGINE
73# endif
74# ifndef OPENSSL_NO_EXTERNAL_TESTS
75# define OPENSSL_NO_EXTERNAL_TESTS
76# endif
77# ifndef OPENSSL_NO_FIPS_JITTER
78# define OPENSSL_NO_FIPS_JITTER
79# endif
80# ifndef OPENSSL_NO_FIPS_POST
81# define OPENSSL_NO_FIPS_POST
82# endif
83# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
84# define OPENSSL_NO_FIPS_SECURITYCHECKS
85# endif
86# ifndef OPENSSL_NO_FUZZ_AFL
87# define OPENSSL_NO_FUZZ_AFL
88# endif
89# ifndef OPENSSL_NO_FUZZ_LIBFUZZER
90# define OPENSSL_NO_FUZZ_LIBFUZZER
91# endif
92# ifndef OPENSSL_NO_H3DEMO
93# define OPENSSL_NO_H3DEMO
94# endif
95# ifndef OPENSSL_NO_HQINTEROP
96# define OPENSSL_NO_HQINTEROP
97# endif
98# ifndef OPENSSL_NO_JITTER
99# define OPENSSL_NO_JITTER
100# endif
101# ifndef OPENSSL_NO_LMS
102# define OPENSSL_NO_LMS
103# endif
104# ifndef OPENSSL_NO_MD2
105# define OPENSSL_NO_MD2
106# endif
107# ifndef OPENSSL_NO_MSAN
108# define OPENSSL_NO_MSAN
109# endif
110# ifndef OPENSSL_NO_PIE
111# define OPENSSL_NO_PIE
112# endif
113# ifndef OPENSSL_NO_RC5
114# define OPENSSL_NO_RC5
115# endif
116# ifndef OPENSSL_NO_SCTP
117# define OPENSSL_NO_SCTP
118# endif
119# ifndef OPENSSL_NO_SSLKEYLOG
120# define OPENSSL_NO_SSLKEYLOG
121# endif
122# ifndef OPENSSL_NO_STATIC_ENGINE
123# define OPENSSL_NO_STATIC_ENGINE
124# endif
125# ifndef OPENSSL_NO_STATIC_VCRUNTIME
126# define OPENSSL_NO_STATIC_VCRUNTIME
127# endif
128# ifndef OPENSSL_NO_TFO
129# define OPENSSL_NO_TFO
130# endif
131# ifndef OPENSSL_NO_TLS_DEPRECATED_EC
132# define OPENSSL_NO_TLS_DEPRECATED_EC
133# endif
134# ifndef OPENSSL_NO_TRACE
135# define OPENSSL_NO_TRACE
136# endif
137# ifndef OPENSSL_NO_UBSAN
138# define OPENSSL_NO_UBSAN
139# endif
140# ifndef OPENSSL_NO_UNIT_TEST
141# define OPENSSL_NO_UNIT_TEST
142# endif
143# ifndef OPENSSL_NO_UNIT_TESTS
144# define OPENSSL_NO_UNIT_TESTS
145# endif
146# ifndef OPENSSL_NO_UPLINK
147# define OPENSSL_NO_UPLINK
148# endif
149# ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
150# define OPENSSL_NO_WEAK_SSL_CIPHERS
151# endif
152# ifndef OPENSSL_NO_WINSTORE
153# define OPENSSL_NO_WINSTORE
154# endif
155# ifndef OPENSSL_NO_ZLIB_DYNAMIC
156# define OPENSSL_NO_ZLIB_DYNAMIC
157# endif
158# ifndef OPENSSL_NO_ZSTD_DYNAMIC
159# define OPENSSL_NO_ZSTD_DYNAMIC
160# endif
161
162/* clang-format on */
163
164/* Generate 80386 code? */
165/* clang-format off */
166# undef I386_ONLY
167/* clang-format on */
168
169/*
170 * The UEFI build supports both 32-bit and 64-bit builds from a single run
171 * of the Configure script. To allow this, they define THIRTY_TWO_BIT and
172 * SIXTY_FOUR_BIT appropriately for their builds, and we should not touch
173 * them in that case.
174 */
175#if !defined(OPENSSL_SYS_UEFI)
176 /* clang-format off */
177# undef BN_LLONG
178 /* clang-format on */
179 /* Only one for the following should be defined */
180 /* clang-format off */
181# define SIXTY_FOUR_BIT_LONG
182 /* clang-format on */
183 /* clang-format off */
184# undef SIXTY_FOUR_BIT
185 /* clang-format on */
186 /* clang-format off */
187# undef THIRTY_TWO_BIT
188/* clang-format on */
189#endif
190
191/*
192 * The following are cipher-specific, but are part of the public API.
193 */
194/* clang-format off */
195# define RC4_INT unsigned int
196/* clang-format on */
197
198#if defined(OPENSSL_NO_COMP) || (defined(OPENSSL_NO_BROTLI) && defined(OPENSSL_NO_ZSTD) && defined(OPENSSL_NO_ZLIB))
199#define OPENSSL_NO_COMP_ALG
200#else
201#undef OPENSSL_NO_COMP_ALG
202#endif
203
204#ifdef __cplusplus
205}
206#endif
207
208#endif /* OPENSSL_CONFIGURATION_H */
209