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