2 * WARNING: do not edit!
3 * Generated by Makefile from include/openssl/opensslconf.h.in
5 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
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
17 #ifdef OPENSSL_ALGORITHM_DEFINES
18 # error OPENSSL_ALGORITHM_DEFINES no longer supported
22 * OpenSSL was configured with the following options:
25 #ifndef OPENSSL_NO_MD2
26 # define OPENSSL_NO_MD2
28 #ifndef OPENSSL_NO_RC5
29 # define OPENSSL_NO_RC5
31 #ifndef OPENSSL_THREADS
32 # define OPENSSL_THREADS
34 #ifndef OPENSSL_NO_ASAN
35 # define OPENSSL_NO_ASAN
37 #ifndef OPENSSL_NO_CRYPTO_MDEBUG
38 # define OPENSSL_NO_CRYPTO_MDEBUG
40 #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
41 # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
43 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
44 # define OPENSSL_NO_EC_NISTP_64_GCC_128
46 #ifndef OPENSSL_NO_EGD
47 # define OPENSSL_NO_EGD
49 #ifndef OPENSSL_NO_FUZZ_AFL
50 # define OPENSSL_NO_FUZZ_AFL
52 #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
53 # define OPENSSL_NO_FUZZ_LIBFUZZER
55 #ifndef OPENSSL_NO_HEARTBEATS
56 # define OPENSSL_NO_HEARTBEATS
58 #ifndef OPENSSL_NO_MSAN
59 # define OPENSSL_NO_MSAN
61 #ifndef OPENSSL_NO_SCTP
62 # define OPENSSL_NO_SCTP
64 #ifndef OPENSSL_NO_SSL_TRACE
65 # define OPENSSL_NO_SSL_TRACE
67 #ifndef OPENSSL_NO_SSL3
68 # define OPENSSL_NO_SSL3
70 #ifndef OPENSSL_NO_SSL3_METHOD
71 # define OPENSSL_NO_SSL3_METHOD
73 #ifndef OPENSSL_NO_UBSAN
74 # define OPENSSL_NO_UBSAN
76 #ifndef OPENSSL_NO_UNIT_TEST
77 # define OPENSSL_NO_UNIT_TEST
79 #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
80 # define OPENSSL_NO_WEAK_SSL_CIPHERS
85 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
86 * don't like that. This will hopefully silence them.
88 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
91 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
92 * declarations of functions deprecated in or before <version>. Otherwise, they
93 * still won't see them if the library has been built to disable deprecated
96 #if defined(OPENSSL_NO_DEPRECATED)
97 # define DECLARE_DEPRECATED(f)
98 #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
99 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
101 # define DECLARE_DEPRECATED(f) f;
105 # ifdef OPENSSL_NO_FILENAMES
106 # define OPENSSL_FILE ""
107 # define OPENSSL_LINE 0
109 # define OPENSSL_FILE __FILE__
110 # define OPENSSL_LINE __LINE__
114 #ifndef OPENSSL_MIN_API
115 # define OPENSSL_MIN_API 0
118 #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
119 # undef OPENSSL_API_COMPAT
120 # define OPENSSL_API_COMPAT OPENSSL_MIN_API
123 #if OPENSSL_API_COMPAT < 0x10100000L
124 # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
126 # define DEPRECATEDIN_1_1_0(f)
129 #if OPENSSL_API_COMPAT < 0x10000000L
130 # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
132 # define DEPRECATEDIN_1_0_0(f)
135 #if OPENSSL_API_COMPAT < 0x00908000L
136 # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
138 # define DEPRECATEDIN_0_9_8(f)
141 #define OPENSSL_CPUID_OBJ
143 /* Generate 80386 code? */
146 #undef OPENSSL_UNISTD
147 #define OPENSSL_UNISTD <unistd.h>
149 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
152 * The following are cipher-specific, but are part of the public API.
154 #if !defined(OPENSSL_SYS_UEFI)
156 /* Only one for the following should be defined */
157 # define SIXTY_FOUR_BIT_LONG
158 # undef SIXTY_FOUR_BIT
159 # undef THIRTY_TWO_BIT
162 #define RC4_INT unsigned int