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